HCens

object HCens extends Int2sArrCompanion[HCen, HCens]

Companion object for HCens trait efficient array[Int] based collection for HCens hex grid centre coordinates, contains factory apply and uninitialised methods..

Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

Value members

Concrete methods

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

Inherited methods

def apply(elems: HCen*): HCens

Apply factory method

Apply factory method

Inherited from
Int2sArrCompanion
override def elemSize: Int
Definition Classes
Inherited from
Int2sArrCompanion
final def fromArrMap[T](alb: ArrayLikeBase[T])(f: T => HCen): HCens

This method allows you to map from an ArrayLikeBase to the ArrA type.

This method allows you to map from an ArrayLikeBase to the ArrA type.

Inherited from
ValueNArrCompanion
def fromBuffer(buff: ArrayBuffer[Int]): HCens

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].

Inherited from
IntNArrCompanion

Implicits

Inherited implicits

implicit override def uninitialised(length: Int): HCens

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.

Definition Classes
Inherited from
IntNArrCompanion