Enum Class SocketFlag

java.lang.Object
java.lang.Enum<SocketFlag>
client.inventory.SocketFlag
All Implemented Interfaces:
Serializable, Comparable<SocketFlag>, Constable

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

    • DEFAULT

      public static final SocketFlag DEFAULT
    • SOCKET_BOX_1

      public static final SocketFlag SOCKET_BOX_1
    • SOCKET_BOX_2

      public static final SocketFlag SOCKET_BOX_2
    • SOCKET_BOX_3

      public static final SocketFlag SOCKET_BOX_3
    • USED_SOCKET_1

      public static final SocketFlag USED_SOCKET_1
    • USED_SOCKET_2

      public static final SocketFlag USED_SOCKET_2
    • USED_SOCKET_3

      public static final SocketFlag USED_SOCKET_3
  • Method Details

    • values

      public static SocketFlag[] 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 SocketFlag 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
    • getValue

      public final int getValue()
    • check

      public final boolean check(int flag)