Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait SeqLikeInt3[SqCenStep]trait BuffValueN[SqCenStep]trait SeqLikeValueN[SqCenStep]trait SeqLikeBacked[SqCenStep]class Objecttrait Matchableclass AnyShow all
Members list
Type members
Types
Gives the final type of this class.
Gives the final type of this class.
Attributes
Value members
Concrete methods
Constructs an element from 3 Ints.
Inherited methods
Attributes
- Inherited from:
- Sequ
Collects values of B by applying partial function to only those elements of A, for which the PartialFunction is defined.
Collects values of B by applying partial function to only those elements of A, for which the PartialFunction is defined.
Attributes
- Inherited from:
- Sequ
Returns true if this sequence contains a value equal to the parameter value. The passed value for equivalence testing can be a super type of the element type.
Returns true if this sequence contains a value equal to the parameter value. The passed value for equivalence testing can be a super type of the element type.
Attributes
- Inherited from:
- Sequ
Applies an index to this ArrayLike collection which cycles back to element 0, when it reaches the end of the collection. Accepts even negative integers as an index value without throwing an exception.
Applies an index to this ArrayLike collection which cycles back to element 0, when it reaches the end of the collection. Accepts even negative integers as an index value without throwing an exception.
Attributes
- Inherited from:
- Sequ
Checks if 2 values of the specifying sequence are equal.
Checks if 2 values of the specifying sequence are equal.
Attributes
- Definition Classes
- Inherited from:
- SeqLikeInt3
The number of atomic values, Ints, Doubles, Longs etc that specify / construct an element of this immutable flat Array based collection class.
The number of atomic values, Ints, Doubles, Longs etc that specify / construct an element of this immutable flat Array based collection class.
Attributes
- Definition Classes
- Inherited from:
- SeqLikeInt3
The element String allows the composition of toString for the whole collection. The syntax of the output will be reworked.
Tests if the condition exists for any element of this sequence.
Counts the number of elements that fulfil the condition A => Boolean
Counts the number of elements that fulfil the condition A => Boolean
Attributes
- Inherited from:
- Sequ
Gives the maximum value of type B, produced by applying the function from A to B on each element of this collection, or the default value if the collection is empty.
Gives the maximum value of type B, produced by applying the function from A to B on each element of this collection, or the default value if the collection is empty.
Attributes
- Inherited from:
- Sequ
Gives the minimum value of type B, produced by applying the function from A to B on each element of this collection, or the default value if the collection is empty.
Gives the minimum value of type B, produced by applying the function from A to B on each element of this collection, or the default value if the collection is empty.
Attributes
- Inherited from:
- Sequ
Attributes
- Inherited from:
- Sequ
Attributes
- Inherited from:
- Sequ
Tries to find te first element of this sequence conforming to the predicate.
Tries to find te first element of this sequence conforming to the predicate.
Attributes
- Inherited from:
- Sequ
Attributes
- Inherited from:
- Sequ
Attributes
- Inherited from:
- Sequ
Folds over this sequence starting with the initial value
Returns true if the predicate holds true for all values of this sequence, else retruns false.
Returns true if the predicate holds true for all values of this sequence, else retruns false.
Attributes
- Inherited from:
- Sequ
Performs a side effecting function on each element of this sequence in order. The function may return Unit. If it does return a non-Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users.
Performs a side effecting function on each element of this sequence in order. The function may return Unit. If it does return a non-Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users.
Attributes
- Inherited from:
- Sequ
Attributes
- Definition Classes
- Inherited from:
- BuffInt3
Attributes
- Definition Classes
- Inherited from:
- BuffIntN
The first element of this sequence.
Folds over the non-existence / existence of a head element. The first parameter is a value for an empty sequence, the second parameter passed as a separate parameter list is a function on the head element.
Folds over the non-existence / existence of a head element. The first parameter is a value for an empty sequence, the second parameter passed as a separate parameter list is a function on the head element.
Attributes
- Inherited from:
- Sequ
Folds over the non-existence / existence of a head element. If the sequence is nonEmpty applies toString to head element else returns the noHead parameter string.
Folds over the non-existence / existence of a head element. If the sequence is nonEmpty applies toString to head element else returns the noHead parameter string.
Attributes
- Inherited from:
- Sequ
Index with element flatMap. Applies the parameter function to the index and each respective element of this sequence. The function returns a Arr of elements of type B and the method as a whole flattens and then returns the specialised Arr of type B. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature. Ideally this method should be overridden in subclasses.
Index with element flatMap. Applies the parameter function to the index and each respective element of this sequence. The function returns a Arr of elements of type B and the method as a whole flattens and then returns the specialised Arr of type B. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature. Ideally this method should be overridden in subclasses.
Attributes
- Inherited from:
- Sequ
Index with element flatMap. Applies the parameter function to the index and each respective element of this sequence. The function returns a Arr of elements of type B and the method as a whole flattens and then returns the specialised Arr of type B. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature. Ideally this method should be overridden in subclasses.
Index with element flatMap. Applies the parameter function to the index and each respective element of this sequence. The function returns a Arr of elements of type B and the method as a whole flattens and then returns the specialised Arr of type B. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature. Ideally this method should be overridden in subclasses.
Attributes
- Inherited from:
- Sequ
Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
Attributes
- Inherited from:
- Sequ
Index with foreach. Performs a side effecting function on the index and each element of this sequence. It takes a function as a parameter. The function may return Unit. If it does return a non-Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
Index with foreach. Performs a side effecting function on the index and each element of this sequence. It takes a function as a parameter. The function may return Unit. If it does return a non-Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
Attributes
- Inherited from:
- Sequ
Index with foreach. Performs a side effecting function on the index and each element of this sequence. It takes a function as a parameter. The function may return Unit. If it does return a non-Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
Index with foreach. Performs a side effecting function on the index and each element of this sequence. It takes a function as a parameter. The function may return Unit. If it does return a non-Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
Attributes
- Inherited from:
- Sequ
Index with element map. Applies the parameter function to the index and each respective element of this sequence. The function returns an element of type B and the method as a whole returns the specialised Arr of type B. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature. Ideally this method should be overridden in subclasses.
Index with element map. Applies the parameter function to the index and each respective element of this sequence. The function returns an element of type B and the method as a whole returns the specialised Arr of type B. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature. Ideally this method should be overridden in subclasses.
Attributes
- Inherited from:
- Sequ
Index with element map. Applies the parameter function to the index and each respective element of this sequence. The function returns an element of type B and the method as a whole returns the specialised Arr of type B. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods ' (accumulator, element) => B signature. This method should be overridden in subclasses.
Index with element map. Applies the parameter function to the index and each respective element of this sequence. The function returns an element of type B and the method as a whole returns the specialised Arr of type B. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods ' (accumulator, element) => B signature. This method should be overridden in subclasses.
Attributes
- Inherited from:
- Sequ
like the apply method accesses the defining sequence element by a 0 based index, but cycles around for indexes less that 0 and equal or greater than index length.
like the apply method accesses the defining sequence element by a 0 based index, but cycles around for indexes less that 0 and equal or greater than index length.
Attributes
- Inherited from:
- Sequ
Performs a side effecting function on each element of the range of index values for this sequence in order. The function may return Unit. If it does return a non-Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users.
Performs a side effecting function on each element of the range of index values for this sequence in order. The function may return Unit. If it does return a non-Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users.
Attributes
- Inherited from:
- Sequ
Return the index of the first element where predicate is true, or -1 if predicate not true forall.
Return the index of the first element where predicate is true, or -1 if predicate not true forall.
Attributes
- Inherited from:
- Sequ
Performs a side effecting function on each element of this sequence excluding the last. The function may return Unit. If it does return a non-Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users.
Performs a side effecting function on each element of this sequence excluding the last. The function may return Unit. If it does return a non-Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users.
Attributes
- Inherited from:
- Sequ
Specialised map to an immutable Arr of B. But takes 2 functions. Applies the first supplied function to every element of the init of this sequence and the second is applied to the last element if there is one.
The last element of this sequence.
Folds over the non-existence / existence of a last element. The first parameter is a value for an empty sequence, the second parameter passed as a separate parameter list is a function on the last element.
Folds over the non-existence / existence of a last element. The first parameter is a value for an empty sequence, the second parameter passed as a separate parameter list is a function on the last element.
Attributes
- Inherited from:
- Sequ
Just a handy shortcut to give the length of this collection as a string.
Just a handy shortcut to give the length of this collection as a string.
Attributes
- Inherited from:
- Sequ
The length of this Sequence. This will have the same value as the dataLength property inherited from SeqLike[A].
map 2 elements of A to 1 element of B. Ignores the last element on a collection of odd numbered length.
map 2 elements of A to 1 element of B. Ignores the last element on a collection of odd numbered length.
Attributes
- Inherited from:
- Sequ
Maps to an Array.
maps from A to ErrBi[B], collects the successful values.
Map from A => ErrBi[E, B]. There is a name overload that usingly takes a narrower BuilderArrMap as the second parameter list.
Map from A => ErrBi[E, B]. There is a name overload that usingly takes a narrower BuilderArrMap as the second parameter list.
Attributes
- Inherited from:
- Sequ
Map from A => ErrBi[E, B]. Returns a successful Arr of B as long as the function produces no errors, in which case it returns a Fail of the first error encountered usingly takes a BuilderArrMap. There is a name overload that explicitly takes a more flexible BuilderMap as the first parameter list.
Map from A => ErrBi[E, B]. Returns a successful Arr of B as long as the function produces no errors, in which case it returns a Fail of the first error encountered usingly takes a BuilderArrMap. There is a name overload that explicitly takes a more flexible BuilderMap as the first parameter list.
Attributes
- Inherited from:
- Sequ
Specialised map to an immutable ArrPairFinalA1 of B. Applies the supplied function to every element of this sequence.
Specialised map to an immutable ArrPairFinalA1 of B. Applies the supplied function to every element of this sequence.
Attributes
- Inherited from:
- Sequ
Takes a function from A to ErrBi[?, B]. If the function applied to each element produces a single Good, it is returned else returns Bad.
Maps from A to B like normal map,but has an additional accumulator of type C that is discarded once the traversal is completed. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
Maps from A to B like normal map,but has an additional accumulator of type C that is discarded once the traversal is completed. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
Attributes
- Inherited from:
- Sequ
Gives the maximum value of this sequence according to the implicit ordering type class instance, which can be passed explicitly.
Gives the maximum value of this sequence according to the implicit ordering type class instance, which can be passed explicitly.
Attributes
- Inherited from:
- Sequ
Gives the minimum value of this sequence according to the implicit ordering type class instance, which can be passed explicitly.
Gives the minimum value of this sequence according to the implicit ordering type class instance, which can be passed explicitly.
Attributes
- Inherited from:
- Sequ
Applies the function to convert each element to a String and then appends them with the separator. There is a name overload which uses toString to replace the first parameter.
Applies toString to each element and appends them with given separator. There ia name overload where the first paremter is a function to convert the elements into Strings.
Mutates an element in the Arr at the given index. This method should rarely be needed by end users, but is used by the initialisation and factory methods.
Mutates an element in the Arr at the given index. This method should rarely be needed by end users, but is used by the initialisation and factory methods.
Attributes
- Inherited from:
- SeqLikeBacked
Is this sequence non-empty?
The number of data elements in the defining sequence. These collections use underlying mutable Arrays and ArrayBuffers. The length of the underlying Array will be a multiple of this number. For Sequs this will be an alternative name for length.
Attributes
- Inherited from:
- Sequ
Method for keeping the typer happy when returning this as an instance of ThisT.
Method for keeping the typer happy when returning this as an instance of ThisT.
Attributes
- Inherited from:
- Sequ
Performs a side effecting function on each element of this sequence in reverse order. The function may return Unit. If it does return a non-Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users.
Performs a side effecting function on each element of this sequence in reverse order. The function may return Unit. If it does return a non-Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users.
Attributes
- Inherited from:
- Sequ
Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
Attributes
- Inherited from:
- Sequ
Sets / mutates an element in the Arr at the given index. This method should rarely be needed by end users, but is used by the initialisation and factory methods.
Sets / mutates an element in the Arr at the given index. This method should rarely be needed by end users, but is used by the initialisation and factory methods.
Attributes
- Definition Classes
- Inherited from:
- BuffInt3
Sets / mutates elements in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.
Sets / mutates elements in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.
Attributes
- Inherited from:
- SeqLikeBacked
Foreachs over the tail of this sequence. Performs a side effecting function on each element of this sequence excluding the first.
Foreachs over the tail of this sequence. Performs a side effecting function on each element of this sequence excluding the first.
Attributes
- Inherited from:
- Sequ
foldLeft over the tail of this sequence.
Takes a second collection as a parameter and zips the elements of this collection and the operand collection and applies the specialised map function from type A and type B to type C.
Takes a second collection as a parameter and zips the elements of this collection and the operand collection and applies the specialised map function from type A and type B to type C.
Attributes
- Inherited from:
- Sequ
Takes a second collection and third collections as parameters and zips the elements of this collection and the operand collections and applies the specialised map function from type A and type B and type C to type D.
Takes a second collection and third collections as parameters and zips the elements of this collection and the operand collections and applies the specialised map function from type A and type B and type C to type D.
Attributes
- Inherited from:
- Sequ