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