public enum HeuristicType extends Enum<HeuristicType>
Enum Constant and Description |
---|
EVERY |
INCR |
MANUAL |
MANUALINCR |
NOTHING |
Modifier and Type | Method and Description |
---|---|
static FieldCheckHeuristic |
getHeuristic(HeuristicType type,
TypeManager tm,
int maxPasses) |
static HeuristicType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeuristicType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeuristicType MANUAL
public static final HeuristicType INCR
public static final HeuristicType EVERY
public static final HeuristicType MANUALINCR
public static final HeuristicType NOTHING
public static HeuristicType[] values()
for (HeuristicType c : HeuristicType.values()) System.out.println(c);
public static HeuristicType 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 static FieldCheckHeuristic getHeuristic(HeuristicType type, TypeManager tm, int maxPasses)