Enum Class StorageVersion

java.lang.Object
java.lang.Enum<StorageVersion>
net.thomilist.dimensionalinventories.module.version.StorageVersion
All Implemented Interfaces:
Serializable, Comparable<StorageVersion>, Constable

public enum StorageVersion extends Enum<StorageVersion>
  • Enum Constant Details

  • Field Details

    • version

      public final int version
  • Method Details

    • values

      public static StorageVersion[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static StorageVersion valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • latest

      public static StorageVersion latest()
    • all

      public static SortedSet<StorageVersion> all()
    • reversed

      public static SortedSet<StorageVersion> reversed()
    • compareSets

      public static int compareSets(SortedSet<StorageVersion> a, SortedSet<StorageVersion> b)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<StorageVersion>