Enum Class UUIDType

java.lang.Object
java.lang.Enum<UUIDType>
me.pauleff.converter.UUIDType
All Implemented Interfaces:
Serializable, Comparable<UUIDType>, Constable

public enum UUIDType extends Enum<UUIDType>
Classifies a Minecraft player UUID as online, offline, or invalid by UUID version.
See Also:
  • Enum Constant Details

    • ONLINE

      public static final UUIDType ONLINE
      An online-mode (Mojang) UUID, typically version 4.
    • OFFLINE

      public static final UUIDType OFFLINE
      An offline-mode UUID, typically version 3.
    • INVALID

      public static final UUIDType INVALID
      A UUID that is neither a recognized online nor offline Minecraft UUID.
  • Method Details

    • values

      public static UUIDType[] 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 UUIDType 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