public enum UnlockType extends Enum<UnlockType>
| Enum Constant and Description |
|---|
UNLOCK_HOLD |
UNLOCK_TIMED |
| Modifier and Type | Method and Description |
|---|---|
static UnlockType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnlockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnlockType UNLOCK_TIMED
public static final UnlockType UNLOCK_HOLD
public static UnlockType[] values()
for (UnlockType c : UnlockType.values()) System.out.println(c);
public static UnlockType 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 © 2014. All Rights Reserved.