public enum HuntPolicy extends Enum<HuntPolicy>
Enum Constant and Description |
---|
CIRCULAR |
REGULAR |
SIMULTANEOUS |
UNIFORM |
WEIGHTED |
Modifier and Type | Method and Description |
---|---|
static HuntPolicy |
get(String value) |
String |
toString() |
String |
value() |
static HuntPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HuntPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HuntPolicy CIRCULAR
public static final HuntPolicy REGULAR
public static final HuntPolicy SIMULTANEOUS
public static final HuntPolicy UNIFORM
public static final HuntPolicy WEIGHTED
public static HuntPolicy[] values()
for (HuntPolicy c : HuntPolicy.values()) System.out.println(c);
public static HuntPolicy 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 nullpublic String value()
public String toString()
toString
in class Enum<HuntPolicy>
public static HuntPolicy get(String value)
Copyright © 2016 ECG, Inc. All rights reserved.