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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default intcompareTo(FormatVersionType o)intmajor()intminor()default java.lang.StringtoHumanString()
-
-
-
Method Detail
-
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
default int compareTo(FormatVersionType o)
- Specified by:
compareToin interfacejava.lang.Comparable<FormatVersionType>
-
-