public static enum LockInfo.LockType extends Enum<LockInfo.LockType>
| Modifier and Type | Method and Description |
|---|---|
static LockInfo.LockType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockInfo.LockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LockInfo.LockType READ
public static final LockInfo.LockType WRITE
public static LockInfo.LockType[] values()
for (LockInfo.LockType c : LockInfo.LockType.values()) System.out.println(c);
public static LockInfo.LockType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2015. All rights reserved.