Package com.io7m.jnoisetype.api
Interface NTPitchType
-
- All Superinterfaces:
java.lang.Comparable<NTPitchType>
- All Known Implementing Classes:
NTPitch
@Immutable public interface NTPitchType extends java.lang.Comparable<NTPitchType>
The valid values for pitches.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidcheckPreconditions()Check preconditions for the type.default intcompareTo(NTPitchType other)intvalue()
-
-
-
Method Detail
-
value
@Parameter int value()
- Returns:
- The raw value in the range
[0, 127]
-
checkPreconditions
@Check default void checkPreconditions()
Check preconditions for the type.
-
compareTo
default int compareTo(NTPitchType other)
- Specified by:
compareToin interfacejava.lang.Comparable<NTPitchType>
-
-