CompanionSlInt2

ostrat.CompanionSlInt2
trait CompanionSlInt2[A <: Int2Elem, ArrA <: SeqLikeImutInt2[A]] extends CompanionSlIntN[A, ArrA]

Helper trait for companion objects of SeqLikeImuts with Int2Elems.

Attributes

Graph
Supertypes
trait CompanionSlIntN[A, ArrA]
class Object
trait Matchable
class Any
Known subtypes
object HCenArr
object HSepArr
object HVertArr
object LinePathHC
object PolygonHC
object PolygonSqC
object SqVertArr
Show all

Members list

Value members

Concrete methods

def apply(elems: A*): ArrA

Apply factory method

Apply factory method

Attributes

override def elemNumInts: Int

The number of Ints that are needed to construct an element of the defining-sequence.

The number of Ints that are needed to construct an element of the defining-sequence.

Attributes

Definition Classes

Inherited methods

def fromBuff(buff: BuffIntN[A]): ArrA

Attributes

Inherited from:
CompanionSlIntN
def fromBuffer(buffer: ArrayBuffer[Int]): ArrA

This method allows a flat Array[Int] based collection class of type M, the final type, to be created from an ArrayBuffer[Int].

This method allows a flat Array[Int] based collection class of type M, the final type, to be created from an ArrayBuffer[Int].

Attributes

Inherited from:
CompanionSlIntN
def ints(inp: Int*): ArrA

Attributes

Inherited from:
CompanionSlIntN
def uninitialised(length: Int): ArrA

returns a collection class of type ArrA, whose backing Array[Int] is uninitialised.

returns a collection class of type ArrA, whose backing Array[Int] is uninitialised.

Attributes

Inherited from:
CompanionSlIntN

Inherited and Abstract methods

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

This method allows a flat Array[Int] based collection class of type M, the final type, to be created from an Array[Int].

This method allows a flat Array[Int] based collection class of type M, the final type, to be created from an Array[Int].

Attributes

Inherited from:
CompanionSlIntN