public enum GroupCompactionPolicy extends Enum<GroupCompactionPolicy>
Enum Constant and Description |
---|
MAXIMAL
A strategy specifying maximal horizontal group compaction.
|
NONE
A strategy specifying no horizontal group compaction.
|
Modifier and Type | Method and Description |
---|---|
static GroupCompactionPolicy |
fromOrdinal(int ordinal) |
int |
value() |
static GroupCompactionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupCompactionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupCompactionPolicy MAXIMAL
This means that the node placer will try to minimize the horizontally occupied space for a group node.
public static final GroupCompactionPolicy NONE
This means that group node contents will occupy nearly the same horizontal positions as when not grouped at all.
public static final GroupCompactionPolicy fromOrdinal(int ordinal)
public int value()
public static GroupCompactionPolicy valueOf(String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.public static GroupCompactionPolicy[] values()
for (GroupCompactionPolicy c : GroupCompactionPolicy.values()) System.out.println(c);