com.io7m.smfj.core

## Interface SMFFormatVersionType

- All Superinterfaces:
    Comparable<SMFFormatVersionType>
  All Known Implementing Classes:
    SMFFormatVersion, SMFFormatVersionMutable

      public interface SMFFormatVersionType
      extends Comparable<SMFFormatVersionType>

  A format version.

- - ### Method Summary

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

- - ### Method Detail

    - #### major

          int major()

      Returns:
        The major number for a format

    - #### minor

          int minor()

      Returns:
        The minor number for a format

    - #### toHumanString

          default String toHumanString()

      Returns:
        The humanly-readable version string

    - #### compareTo

          default int compareTo(SMFFormatVersionType o)

      Specified by:
        `compareTo` in interface `Comparable<SMFFormatVersionType>`

Copyright © 2017 <code@io7m.com> http://io7m.com