public static enum AgentJim.TeamSide extends Enum<AgentJim.TeamSide>
Modifier and Type | Method and Description |
---|---|
static AgentJim.TeamSide |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentJim.TeamSide[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentJim.TeamSide RIGHT
public static final AgentJim.TeamSide LEFT
public static AgentJim.TeamSide[] values()
for (AgentJim.TeamSide c : AgentJim.TeamSide.values()) System.out.println(c);
public static AgentJim.TeamSide 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 null