public enum FlagState extends Enum<FlagState>
Modifier and Type | Method and Description |
---|---|
static FlagState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlagState |
valueOfIgnoreCase(String state) |
static FlagState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlagState HOME
public static final FlagState HELD
public static final FlagState DROPPED
public static FlagState[] values()
for (FlagState c : FlagState.values()) System.out.println(c);
public static FlagState 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 © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.