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 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

      default int compareTo​(FormatVersionType o)
      Specified by:
      compareTo in interface java.lang.Comparable<FormatVersionType>