public enum LockingState extends Enum<LockingState>
| Enum Constant and Description |
|---|
BOTH
Read and write operations allowed.
|
NO_ACCESS
No any operation allowed.
|
READABLE
Read operations allowed.
|
WRITABLE
Write operations allowed.
|
| Modifier and Type | Field and Description |
|---|---|
static LockingState |
DEFAULT
Default state.
|
| Modifier and Type | Method and Description |
|---|---|
static LockingState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockingState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LockingState NO_ACCESS
public static final LockingState READABLE
public static final LockingState WRITABLE
public static final LockingState BOTH
public static final LockingState DEFAULT
public static LockingState[] values()
for (LockingState c : LockingState.values()) System.out.println(c);
public static LockingState 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 © 2013–2019 BB Corp. All rights reserved.