public static enum LockInfo.LockScope extends Enum<LockInfo.LockScope>
| Modifier and Type | Method and Description |
|---|---|
static LockInfo.LockScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockInfo.LockScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LockInfo.LockScope NONE
public static final LockInfo.LockScope SHARED
public static final LockInfo.LockScope EXCLUSIVE
public static LockInfo.LockScope[] values()
for (LockInfo.LockScope c : LockInfo.LockScope.values()) System.out.println(c);
public static LockInfo.LockScope 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 © 2020. All rights reserved.