Companion

object Companion

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

The mutable ObjectTupleDescriptor.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

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

Create a tuple with the specified sole element. The element is not made immutable first, nor is the new 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

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

Link copied to clipboard

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.