Companion

object Companion

Functions

Link copied to clipboard
fun generateObjectTupleFrom(size: Int, generator: (Int) -> A_BasicObject): AvailObject

Create an object of the appropriate size, whose descriptor is an instance of ObjectTupleDescriptor. Run the generator for each position in ascending order to produce the AvailObjects with which to populate the tuple.

Link copied to clipboard
inline fun generateReversedFrom(size: Int, generator: (Int) -> A_BasicObject): AvailObject

Create an object of the appropriate size, whose descriptor is an instance of ObjectTupleDescriptor. Run the generator for each position in descending order (passing a descending index) to produce the AvailObjects with which to populate the tuple.

Link copied to clipboard
fun tuple(element1: A_BasicObject): A_Tuple

Create a tuple with the specified sole element. The element is not made immutable first, nor is the new tuple.

fun tuple(element1: A_BasicObject, element2: A_BasicObject): A_Tuple

Create a tuple with the specified two elements. The elements are not made immutable first, nor is the new tuple.

fun tuple(    element1: A_BasicObject,     element2: A_BasicObject,     element3: A_BasicObject): A_Tuple

Create a tuple with the specified three elements. The elements are not made immutable first, nor is the new tuple.

fun tuple(    element1: A_BasicObject,     element2: A_BasicObject,     element3: A_BasicObject,     element4: A_BasicObject): A_Tuple

Create a tuple with the specified four elements. The elements are not made immutable first, nor is the new tuple.

fun tuple(    element1: A_BasicObject,     element2: A_BasicObject,     element3: A_BasicObject,     element4: A_BasicObject,     element5: A_BasicObject): A_Tuple

Create a tuple with the specified five elements. The elements are not made immutable first, nor is the new tuple.

Link copied to clipboard
fun tupleFromArray(vararg elements: A_BasicObject): A_Tuple

Create a tuple with the specified elements. The elements are not made immutable first, nor is the new tuple.

Link copied to clipboard
fun <E : A_BasicObject> tupleFromList(list: List<E>): A_Tuple

Construct a new tuple of arbitrary Avail objects passed in a list. The elements are not made immutable first, nor is the new tuple necessarily made immutable.

Properties

Link copied to clipboard
const val maximumCopySize: Int = 32

Defined threshold for making copies versus using TreeTupleDescriptor/using other forms of reference instead of creating a new tuple.

Link copied to clipboard
val mutable: ObjectTupleDescriptor

The mutable ObjectTupleDescriptor.

Link copied to clipboard
val tuple1Method: CheckedMethod
Link copied to clipboard
val tuple2Method: CheckedMethod
Link copied to clipboard
val tuple3Method: CheckedMethod
Link copied to clipboard
val tuple4Method: CheckedMethod
Link copied to clipboard
val tuple5Method: CheckedMethod
Link copied to clipboard
val tupleFromArrayMethod: CheckedMethod

Access to the tupleFromArray method.