Package com.io7m.jnoisetype.api
Interface NTGeneratorIndexType
- All Superinterfaces:
Comparable<NTGeneratorIndexType>
- All Known Implementing Classes:
NTGeneratorIndex
The valid values for generator indices.
-
Method Summary
Modifier and TypeMethodDescriptiondefault char
default void
Check preconditions for the type.default int
compareTo
(NTGeneratorIndexType other) int
value()
-
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
- Specified by:
compareTo
in interfaceComparable<NTGeneratorIndexType>
-