public enum TargetType extends java.lang.Enum<TargetType>
Enum Constant and Description |
---|
AWAY |
DRAW |
GIVE |
HOME |
ONE |
OVER |
TAKE |
TWO |
UNDER |
Modifier and Type | Method and Description |
---|---|
static TargetType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TargetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetType OVER
public static final TargetType UNDER
public static final TargetType GIVE
public static final TargetType TAKE
public static final TargetType ONE
public static final TargetType TWO
public static final TargetType DRAW
public static final TargetType HOME
public static final TargetType AWAY
public static TargetType[] values()
for (TargetType c : TargetType.values()) System.out.println(c);
public static TargetType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null