Package com.io7m.jnoisetype.api
Interface NTVersionType
- All Superinterfaces:
Comparable<NTVersionType>
- All Known Implementing Classes:
NTVersion
A version number.
- See Also:
-
- "SoundFontⓡ Technical Specification 2.04, §5.1, sfVersionTag"
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
Check preconditions for the type.default int
compareTo
(NTVersionType other) int
major()
int
minor()
-
Method Details
-
major
@Parameter int major()- Returns:
- The major version number
-
minor
@Parameter int minor()- Returns:
- The minor version number
-
checkPreconditions
@Check default void checkPreconditions()Check preconditions for the type. -
compareTo
- Specified by:
compareTo
in interfaceComparable<NTVersionType>
-