DataInt1s
A specialised immutable, flat Array[Int] based trait defined by a data sequence of a type of ElemInt1s.
Value members
Concrete methods
Inherited methods
The length of the Array[Int] backing array.
The length of the Array[Int] backing array.
- Inherited from:
- DataIntNs
Performs a side effecting function on each element of this sequence in order.
Performs a side effecting function on each element of this sequence in order.
- Inherited from:
- DataGen
Index with foreach on the data elements. Performs a side effecting function on the index and each element of the data 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 on the data elements. Performs a side effecting function on the index and each element of the data 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.
- Inherited from:
- DataGen
Index with foreach on the data elements. Performs a side effecting function on the index and each element of the data 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 on the data elements. Performs a side effecting function on the index and each element of the data 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.
- Inherited from:
- DataGen
The number of product elements in this collection. For example in a [[PolygonImp], this is the number of Pt2s in the Polygon
The number of product elements in this collection. For example in a [[PolygonImp], this is the number of Pt2s in the Polygon
- Definition Classes
- Inherited from:
- DataValueNs
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.
- Inherited from:
- DataGen
Foreachs over the tail of the data sequence.
Foreachs over the tail of the data sequence.
- Inherited from:
- DataGen
foldLeft over the tail of the data sequence.
foldLeft over the tail of the data sequence.
- Inherited from:
- DataGen
The element String allows the composition of toString for the whole collection. The syntax of the output will be reworked.
The element String allows the composition of toString for the whole collection. The syntax of the output will be reworked.
- Inherited from:
- DataGen
String specifying the type of this object.
String specifying the type of this object.
- Inherited from:
- DataGen
The backing Array[Int] of this collection class. End users should not normally need to interact with this directly.
The backing Array[Int] of this collection class. End users should not normally need to interact with this directly.
- Inherited from:
- DataIntNs
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.
- Inherited from:
- DataGen