DataGen

trait DataGen[A]

Base trait for all efficient classes backed by Arrays, ArrayBuffers etc. Includes sequences and classes such as polygons and line paths that are encoded using sequence data. include immutable and expandable buffers.

class Any
trait DataImut[A]
trait ArrBase[A]
class Arr[A]
trait ArrArrayDbl[A]
trait ArrValueNs[A]
trait ArrDblNs[A]
trait ArrDbl1s[A]
class Angles
trait ArrDbl2s[A]
class MyDbl2s
class LatLongs
class Pt2s
class Vec2MArr
trait ArrDbl3s[A]
class Pt3s
trait ArrDbl4s[A]
class LineSegs
trait ArrDbl5s[A]
trait ArrDbl6s[A]
trait ArrDbl7s[A]
trait ArrIntNs[A]
trait ArrInt1s[A]
class Colours
class HSteps
trait ArrInt2s[A]
class Coods
class Roords
class HCens
class HCoords
class HSides
class HVerts
trait ArrInt4s[A]
class CoodLines
trait ArrLongNs[A]
trait ArrLong1s[A]
class Booleans
class Chars
class Dbls
class Floats
class Ints
class Longs
class Strings
trait DataValueNs[A]
trait DataDblNs[A]
trait DataDbl2s[A]
class PolygonLL
trait LinePathDbl2s[A]
class LinePath
trait PolygonDbl2s[VT]
trait Pt2sLike
trait DataDbl3s[A]
trait LinePathDbl3s[A]
trait PolygonDbl3s[VT]
trait DataDbl4s[A]
trait DataDbl5s[A]
trait DataDbl6s[A]
trait DataDbl7s[A]
trait LinePathDblNs[A]
trait PolygonDblNs[VT]
trait DataIntNs[A]
trait DataInt1s[A]
trait DataInt2s[A]
trait PolygonInt2s[VT]
class PolygonHC
trait PolygonIntNs[VT]
trait LinePathLike[A]
trait PolygonValueN[VT]
trait SeqGen[A]
class AnyBuff[A]
trait BuffValueNs[A]
trait BuffDblNs[A]
trait BuffDbl2s[A]
class MinesBuff
class BuffPt2
class Vec2MBuff
trait BuffDbl3s[A]
class Pt3Buff
trait BuffDbl4s[A]
trait BuffIntNs[A]
trait BuffInt1s[A]
trait BuffInt2s[A]
class CoodBuff
class RoordBuff
class HCenBuff
class HVertBuff
trait BuffInt4s[A, M]
trait BuffLongNs[A]
trait BuffLong1s[A, ArrA]
class DblsBuff
class IntBuff
class LongsBuff

Value members

Abstract methods

def elemsNum: Int

The number of elements in the collection. These collections use underlying mutable Arrays and ArrayBuffers. The length of the underlying Array will be this number or a multiple of this number.

The number of elements in the collection. These collections use underlying mutable Arrays and ArrayBuffers. The length of the underlying Array will be this number or a multiple of this number.

def fElemStr: A => String
@inline
def indexData(index: Int): A

apply method accesses the individual elements of the sequence by 0 based index.

apply method accesses the individual elements of the sequence by 0 based index.

def typeStr: String

String specifying the type of this object.

String specifying the type of this object.

def unsafeSetElem(i: Int, value: A): Unit

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 an element in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Concrete methods

def dataForeach[U](f: A => U): Unit

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.

def dataIForeach[U](f: (A, Int) => U): Unit

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.

def dataLast: A
def dataMap[B, ArrB <: ArrBase[B]](f: A => B)(implicit ev: ArrBuilder[B, ArrB]): ArrB

Specialised map to an immutable ArrBase of B.

Specialised map to an immutable ArrBase of B.

def dataTailForeach[U](f: A => U): Unit

Foreachs over the tail of the data sequence.

Foreachs over the tail of the data sequence.

def dataTailfold[B](initial: B)(f: (B, A) => B): B

foldLeft over the tail of the data sequence.

foldLeft over the tail of the data sequence.

def elemsLenStr: String

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.

final
def elemsStr: String

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.

final override
def toString: String
Definition Classes
Any
def unsafeSetElems(index: Int, elems: A*): Unit

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.