public static enum Agent.AGENT_TYPE extends Enum<Agent.AGENT_TYPE>
| Modifier and Type | Method and Description |
|---|---|
static Agent.AGENT_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Agent.AGENT_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Agent.AGENT_TYPE human
public static final Agent.AGENT_TYPE service
public static final Agent.AGENT_TYPE algo
public static Agent.AGENT_TYPE[] values()
for (Agent.AGENT_TYPE c : Agent.AGENT_TYPE.values()) System.out.println(c);
public static Agent.AGENT_TYPE 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 © 2017. All rights reserved.