Members list
Value members
Concrete methods
Inherited methods
Accesses the defining sequence element by a 0 based index.
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 vvalue for equivlence testing an be a super type of the collection type.
Returns true if this sequence contains a value equal to the parameter value. The passed vvalue for equivlence testing an be a super type of the collection 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
Attributes
- Definition Classes
- Inherited from:
- BuffInt1
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
Attributes
- Definition Classes
- Inherited from:
- BuffValueN
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:
- BuffInt1
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 sub classes.
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 sub classes.
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 sub classes.
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 sub classes.
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 sub classes.
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 sub classes.
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 sub classes.
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 sub classes.
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
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 short cut to give the length of this collection as a string.
Just a handy short cut 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 EMon[B], collects the good values.
Map from A => EMon[B]. There is a name overload that implicitly takes a narrower BuilderArrMap as the second parameter list.
Map from A => EMon[B]. There is a name overload that implicitly takes a narrower BuilderArrMap as the second parameter list.
Attributes
- Inherited from:
- Sequ
Map from A => EMon[B]. implicitly takes a BuilderArrMap. There is a name overload that explicitly takes a more flexible BuilderCollMap as the first parameter list.
Map from A => EMon[B]. implicitly takes a BuilderArrMap. There is a name overload that explicitly takes a more flexible BuilderCollMap as the first parameter list.
Attributes
- Inherited from:
- Sequ
maps ValueProduct collection to List
Specialised map to an immutable PairArrFinalA1 of B. Applies the supplied function to every element of this sequence.
Specialised map to an immutable PairArrFinalA1 of B. Applies the supplied function to every element of this sequence.
Attributes
- Inherited from:
- Sequ
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
Not sure about this method.
Is this sequence non empty?
Takes a map function from A to Option[B] but only returns the [[Arr] of B if all the elements map to a Some. Hence the ArrB if returned will be the same length as this sequence.
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. 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.
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:
- SeqLike
Sums aaccumulating the results of the A => Int function.
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.
Converts this SeqGen to a list.
Attributes
- Inherited from:
- Sequ
Attributes
- Inherited from:
- Sequ
Attributes
- Inherited from:
- Sequ
Attributes
- Inherited from:
- Sequ
Attributes
- Inherited from:
- Sequ
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