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