Bit Field
class BitField(val integerSlot: IntegerSlotsEnum, val shift: Int, val bits: Int, val presenter: (Int) -> String?? = null) : Comparable<BitField?>
A BitField is constructed at class loading time and contains any cached information needed to efficiently access a range of up to 32 contiguous bits from an integer slot.
Author
Mark van Gulik
Constructors
Properties
Link copied to clipboard
Link copied to clipboard
The zero-based integer slot within which this bit field occurs.
Link copied to clipboard
The name of this BitField. This is filled in as needed by the default object printing mechanism.
Functions
Link copied to clipboard
Extract this BitField from the given Long.
Link copied to clipboard
Answer whether the receiver and the passed BitField occupy the same span of bits at the same integer slot number.
Link copied to clipboard