Interface NTBankIndexType

All Superinterfaces:
Comparable<NTBankIndexType>
All Known Implementing Classes:
NTBankIndex

@Immutable public interface NTBankIndexType extends Comparable<NTBankIndexType>
The valid values for bank indices.
  • Method Details

    • value

      @Parameter int value()
      Returns:
      The raw value in the range [0, 0xffff]
    • checkPreconditions

      @Check default void checkPreconditions()
      Check preconditions for the type.
    • asUnsigned16

      default char asUnsigned16()
      Returns:
      The value as an unsigned 16-bit integer
    • compareTo

      default int compareTo(NTBankIndexType other)
      Specified by:
      compareTo in interface Comparable<NTBankIndexType>