slot

fun slot(bitField: BitField): Int

Extract the value of the BitField of the receiver. Note that it's an Int even though the underlying longSlots array contains longs.

Return

An Int extracted from this object.

Parameters

bitField

A BitField that defines the object's layout.


Extract the (signed 64-bit) integer for the given field enum value.

Return

A Long extracted from this object.

Parameters

field

An enumeration value that defines the field ordering.


fun slot(field: IntegerSlotsEnum, subscript: Int): Long

Extract the (signed 64-bit) integer at the given field enum value.

Return

A Long extracted from this object.

Parameters

field

An enumeration value that defines the field ordering.

subscript

The positive one-based subscript to apply.


Extract the AvailObject from the specified object slot of the receiver.

Return

The object found at the specified slot in the receiver.

Parameters

field

An enumeration value that defines the field ordering.


fun slot(field: ObjectSlotsEnum, subscript: Int): AvailObject

Extract the AvailObject at the specified slot of the receiver.

Return

The object found at the specified slot in the receiver.

Parameters

field

An enumeration value that defines the field ordering.

subscript

The positive one-based subscript to apply.