Package com.io7m.smfj.core

## Interface SMFFormatVersionType

- All Superinterfaces:
    `java.lang.Comparable<SMFFormatVersionType>`
  All Known Implementing Classes:
    `SMFFormatVersion`, `SMFFormatVersionMutable`

      @Immutable
      @Modifiable
      public interface SMFFormatVersionType
      extends java.lang.Comparable<SMFFormatVersionType>

  A format version.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `default int` | `compareTo​(SMFFormatVersionType o)` |
    `int` | `major()` |
    `int` | `minor()` |
    `default java.lang.String` | `toHumanString()` |

- - ### 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​(SMFFormatVersionType o)

      Specified by:
        `compareTo` in interface `java.lang.Comparable<SMFFormatVersionType>`