public static enum IRWLockManager.LockType extends Enum<IRWLockManager.LockType>
Modifier and Type | Method and Description |
---|---|
static IRWLockManager.LockType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IRWLockManager.LockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IRWLockManager.LockType WRITE
public static final IRWLockManager.LockType READ
public static final IRWLockManager.LockType OPTION
public static IRWLockManager.LockType[] values()
for (IRWLockManager.LockType c : IRWLockManager.LockType.values()) System.out.println(c);
public static IRWLockManager.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 (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.