ArrNoParam
This trait is for all the ArrSingle classes except RArr. All the final classes of this trait have no type parameters. The primary motivation of this trait is to allow common extractors.
Attributes
- Graph
-
- Supertypes
- Known subtypes
-
trait ArrValueN[A]trait ArrDblN[A]class LineSegLLArrclass LSeg2Arrtrait ArrDbl1[A]class AngleArrtrait ArrDbl2[A]class LatLongArrclass Pt2Arrclass PtFm2Arrclass PtKm2Arrclass PtM2Arrclass PtPm2Arrclass Vec2Arrclass VecFm2Arrclass VecKm2Arrclass VecM2Arrclass VecPm2Arrclass MyDbl2Arrtrait ArrDbl3[A]class Pt3Arrclass PtKm3Arrclass PtM3Arrtrait ArrDbl4[A]class LineSegFm2Arrclass LineSegKm2Arrclass LineSegM2Arrclass LineSegPm2Arrtrait ArrDbl5[A]trait ArrDbl6[A]class LineSegKm3Arrclass LineSegM3Arrtrait ArrDbl7[A]class CurveSegMArrOldtrait ArrIntN[A]trait ArrInt1[A]class HStepArrclass HStepLikeArrclass HVDirnArrclass SqStepArrclass ColourArrtrait ArrInt2[A]class HCenArrclass HCoordArrclass HSepArrclass HVertArrclass SqCenArrclass SqCoordArrclass SqVertArrtrait ArrInt3[A]class HCenRowArrclass HCenStepArrclass HStepCenArrclass HvOffsetArrclass SqCenStepArrtrait ArrInt4[A]class LineSegHCArrclass LineSegSCArrtrait ArrInt5[A]trait ArrInt6[A]class LineSegHvOffsetArrtrait ArrLongN[A]trait ArrLong1[A]class BoolArrclass CharArrclass DblArrclass FloatArrclass IntArrclass LongArrclass StrArrShow all
Members list
Type members
Types
The final type of this class many method operands and return values take this type.
The final type of this class many method operands and return values take this type.
Attributes
Value members
Abstract methods
Reverses the order of the elements of this sequence.
Reverses the order of the elements of this sequence.
Attributes
Concrete methods
Modifies all instances of the old value that fulfill predicate, with a new value by applying the parameter function.
Modifies all instances of the old value that fulfill predicate, with a new value by applying the parameter function.
Attributes
Replaces all instances of the old value with the new value.
Replaces all instances of the old value with the new value.
Attributes
Replaces all instances of the old value that fulfill predicate with the new value.
Replaces all instances of the old value that fulfill predicate with the new value.
Attributes
Inherited methods
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
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
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
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
Attributes
- Inherited from:
- Arr
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
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?
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 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.
Attributes
- Inherited from:
- Arr
Sets / mutates the head element in the Arr. This method should rarely be needed by end users, but is used by initialisation and factory methods.
Sets / mutates the head element in the Arr. This method should rarely be needed by end users, but is used by initialisation and factory methods.
Attributes
- Inherited from:
- Arr
Sets / mutates the last element in the Arr. This method should rarely be needed by end users, but is used by initialisation and factory methods.
Sets / mutates the last element in the Arr. This method should rarely be needed by end users, but is used by initialisation and factory methods.
Attributes
- Inherited from:
- Arr
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
Inherited and Abstract methods
Accesses the defining sequence element by a 0 based index.
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.
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
- Inherited from:
- SeqLikeBacked