SeqLikeImutIntN

ostrat.SeqLikeImutIntN

Common trait for the immutable Array[Int] backed classes that can be specified by IntNElems.

Attributes

Graph
Supertypes
trait SeqLikeBacked[A]
trait SeqLikeIntN[A]
trait SeqLikeValueN[A]
trait SeqLike[A]
class Any
Show all
Known subtypes
trait ArrIntN[A]
trait ArrInt1[A]
class HStepArr
class HStepLikeArr
class HVDirnArr
class SqStepArr
class ColourArr
trait ArrInt2[A]
class HCenArr
class HCoordArr
class HSepArr
class HVertArr
class SqCenArr
class SqCoordArr
class SqVertArr
trait ArrInt3[A]
class HCenRowArr
class HCenStepArr
class HStepCenArr
class HvOffsetArr
class SqCenStepArr
trait ArrInt4[A]
class LineSegHCArr
class LineSegSCArr
trait ArrInt5[A]
trait ArrInt6[A]
trait SeqLikeImutInt2[A]
class LinePathHC
class PolygonHC
trait HVertSeqLike
class PolygonSqC
trait SeqSpecInt2[A]
trait LinePathInt2[VT]
trait PolygonInt2[VT]
class HTilePolygon
trait SeqLikeImutInt3[A]
trait SeqSpecInt3[A]
trait PolygonInt3[VT]
trait SeqLikeImutInt6[A]
trait SeqSpecInt6[A]
trait SeqLikeInt1Imut[A]
trait SeqSpecInt1[A]
trait SeqLikeInt4Imut[A]
trait SeqSpecInt4[A]
trait SeqSpecIntN[A]
trait LinePathIntN[VT]
trait PolygonIntN[VT]
trait SeqSpecInt5[A]
trait SlimutInt5[A]
Show all

Members list

Type members

Types

type ThisT <: SeqLikeImutIntN[A]

Gives the final type of this class.

Gives the final type of this class.

Attributes

Value members

Abstract methods

def fromArray(array: Array[Int]): ThisT

Constructs the final type of these SeqLikeImutIntN from an Array[Int]. Mostly you will access this capability from the companion object or the appropriate builder, but it can be useful to access this from the class itself.

Constructs the final type of these SeqLikeImutIntN from an Array[Int]. Mostly you will access this capability from the companion object or the appropriate builder, but it can be useful to access this from the class itself.

Attributes

Concrete methods

final def unsafeSameSize(length: Int): ThisT

Method for creating a new Array[Int] backed collection class of this collection class's final type.

Method for creating a new Array[Int] backed collection class of this collection class's final type.

Attributes

Inherited methods

final def arrayLen: Int

The length of the backing Array.

The length of the backing Array.

Attributes

Inherited from:
ArrayIntBacked
def fElemStr: A => String

String for element, can be overridden.

String for element, can be overridden.

Attributes

Inherited from:
SeqLike
def mutateElemUnsafe(index: Int, f: A => A): Unit

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
def setElemsUnsafe(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.

Attributes

Inherited from:
SeqLikeBacked
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
SeqLike -> Any
Inherited from:
SeqLike

Inherited and Abstract methods

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.

Attributes

Inherited from:
ArrayIntBacked
def elem(index: Int): A

Accesses the specifying sequence element by a 0 based index. For Sequs this will an alternative name for apply.

Accesses the specifying sequence element by a 0 based index. For Sequs this will an alternative name for apply.

Attributes

Inherited from:
SeqLike
def elemEq(a1: A, a2: A): Boolean

Checks if 2 values of the specifying sequence are equal.

Checks if 2 values of the specifying sequence are equal.

Attributes

Inherited from:
SeqLikeValueN

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

Inherited from:
SeqLikeValueN

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.

Attributes

Inherited from:
SeqLike
def foreach[U](f: A => U): Unit

Performs a side effecting function on each element of the specifying sequence in order.

Performs a side effecting function on each element of the specifying sequence in order.

Attributes

Inherited from:
SeqLike
def numElems: Int

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.

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:
SeqLike
def setElemUnsafe(index: Int, newElem: A): Unit

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

String specifying the type of this object.

String specifying the type of this object.

Attributes

Inherited from:
SeqLike