public enum WaitType extends Enum<WaitType>
| Enum Constant and Description |
|---|
LOCK |
OWN |
PROTECT |
SHOW_OWNER |
UNLOCK |
UNOWN |
UNPROTECT |
| Modifier and Type | Method and Description |
|---|---|
static WaitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WaitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WaitType OWN
public static final WaitType UNOWN
public static final WaitType SHOW_OWNER
public static final WaitType PROTECT
public static final WaitType UNPROTECT
public static final WaitType LOCK
public static final WaitType UNLOCK
public static WaitType[] values()
for (WaitType c : WaitType.values()) System.out.println(c);
public static WaitType 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 © 2015. All rights reserved.