public enum LockStatus extends java.lang.Enum<LockStatus>
Enum Constant and Description |
---|
UNUSED
lock is unused.
|
USED
lock was already used.
|
Modifier and Type | Method and Description |
---|---|
byte |
getValue()
Gets the value of the enum.
|
static LockStatus |
rawValueOf(byte value)
Gets enum value.
|
static LockStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LockStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LockStatus UNUSED
public static final LockStatus USED
public static LockStatus[] values()
for (LockStatus c : LockStatus.values()) System.out.println(c);
public static LockStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static LockStatus rawValueOf(byte value)
value
- Raw value of the enum.public byte getValue()