public enum ExpandStrategy extends Enum<ExpandStrategy>
expand()
operator.Enum Constant and Description |
---|
BREADTH_FIRST
Walk the first level of items, then walk the second level items recursively.
|
DEPTH_FIRST
Expands the first item recursively before expanding the second.
|
Modifier and Type | Method and Description |
---|---|
static ExpandStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExpandStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExpandStrategy DEPTH_FIRST
public static final ExpandStrategy BREADTH_FIRST
public static ExpandStrategy[] values()
for (ExpandStrategy c : ExpandStrategy.values()) System.out.println(c);
public static ExpandStrategy 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