public static enum LockManager.ManagerType extends Enum<LockManager.ManagerType>
| Enum Constant and Description |
|---|
ALLOWS_REENTRANCE
Aceita reentrância
|
NO_REENTRANCE
Não aceita reentrância (default)
|
| Modifier and Type | Method and Description |
|---|---|
static LockManager.ManagerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockManager.ManagerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LockManager.ManagerType ALLOWS_REENTRANCE
public static final LockManager.ManagerType NO_REENTRANCE
public static LockManager.ManagerType[] values()
for (LockManager.ManagerType c : LockManager.ManagerType.values()) System.out.println(c);
public static LockManager.ManagerType 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 © 2016 Tecgraf/PUC-Rio. All rights reserved.