Package com.io7m.jnoisetype.api
Interface NTVersionType
-
- All Superinterfaces:
java.lang.Comparable<NTVersionType>
- All Known Implementing Classes:
NTVersion
@Immutable public interface NTVersionType extends java.lang.Comparable<NTVersionType>
A version number.- See Also:
- "SoundFontⓡ Technical Specification 2.04, §5.1, sfVersionTag"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidcheckPreconditions()Check preconditions for the type.default intcompareTo(NTVersionType other)intmajor()intminor()
-
-
-
Method Detail
-
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
default int compareTo(NTVersionType other)
- Specified by:
compareToin interfacejava.lang.Comparable<NTVersionType>
-
-