public static enum SimpleArrangementEngine.ConstraintMode extends Enum<SimpleArrangementEngine.ConstraintMode>
Enum Constant and Description |
---|
EXACT
Exact mode using backtracking.
|
GREEDY
Greedy mode using an approximation.
|
Modifier and Type | Method and Description |
---|---|
static SimpleArrangementEngine.ConstraintMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleArrangementEngine.ConstraintMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleArrangementEngine.ConstraintMode EXACT
public static final SimpleArrangementEngine.ConstraintMode GREEDY
public static SimpleArrangementEngine.ConstraintMode[] values()
for (SimpleArrangementEngine.ConstraintMode c : SimpleArrangementEngine.ConstraintMode.values()) System.out.println(c);
public static SimpleArrangementEngine.ConstraintMode 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