SeqLikeInt1Imut

ostrat.SeqLikeInt1Imut

SeqLikeImut trait for classes specified by a single Int.

Attributes

Graph
Supertypes
trait SeqLikeInt1[A]
trait SeqLikeImutIntN[A]
trait SeqLikeBacked[A]
trait SeqLikeIntN[A]
trait SeqLikeValueN[A]
trait SeqLike[A]
class Any
Show all
Known subtypes
trait ArrInt1[A]
class HStepArr
class HStepLikeArr
class HVDirnArr
class SqStepArr
class ColourArr
trait SeqSpecInt1[A]
Show all

Members list

Type members

Inherited and Abstract types

type ThisT <: SeqLikeImutIntN[A]

Gives the final type of this class.

Gives the final type of this class.

Attributes

Inherited from:
SeqLikeImutIntN

Value members

Concrete methods

final override 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

Definition Classes
final override 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

Definition Classes
final override 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

Definition Classes

Inherited methods

final def arrayLen: Int

The length of the backing Array.

The length of the backing Array.

Attributes

Inherited from:
ArrayIntBacked
final override 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

Definition Classes
Inherited from:
SeqLikeInt1
final override def elemProdSize: Int

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

Definition Classes
Inherited from:
SeqLikeInt1
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
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 from:
SeqLikeImutIntN

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 elemFromInt(intValue: Int): A

Constructs an element of the specifying sequence from an Int value.

Constructs an element of the specifying sequence from an Int value.

Attributes

Inherited from:
SeqLikeInt1

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

Inherited from:
SeqLikeImutIntN

String specifying the type of this object.

String specifying the type of this object.

Attributes

Inherited from:
SeqLike