Interface FormatVersionType
- All Superinterfaces:
java.lang.Comparable<FormatVersionType>
- All Known Implementing Classes:
FormatVersion
@ProviderType @Immutable public interface FormatVersionType extends java.lang.Comparable<FormatVersionType>
A format version.
-
Method Summary
Modifier and Type Method Description default int
compareTo(FormatVersionType o)
int
major()
int
minor()
default java.lang.String
toHumanString()
-
Method Details
-
major
@Parameter int major()- Returns:
- The major number for a format
-
minor
@Parameter int minor()- Returns:
- The minor number for a format
-
toHumanString
default java.lang.String toHumanString()- Returns:
- The humanly-readable version string
-
compareTo
- Specified by:
compareTo
in interfacejava.lang.Comparable<FormatVersionType>
-