public enum CommonBranchOrdering extends Enum<CommonBranchOrdering> implements BranchOrderingPolicy
Enum Constant and Description |
---|
POSTORDER_BREADTH_FIRST |
POSTORDER_DEPTH_FIRST |
PREORDER_BREADTH_FIRST |
PREORDER_DEPTH_FIRST |
Modifier and Type | Method and Description |
---|---|
static CommonBranchOrdering |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommonBranchOrdering[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
create
public static final CommonBranchOrdering PREORDER_DEPTH_FIRST
public static final CommonBranchOrdering POSTORDER_DEPTH_FIRST
public static final CommonBranchOrdering PREORDER_BREADTH_FIRST
public static final CommonBranchOrdering POSTORDER_BREADTH_FIRST
public static CommonBranchOrdering[] values()
for (CommonBranchOrdering c : CommonBranchOrdering.values()) System.out.println(c);
public static CommonBranchOrdering 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 nullCopyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.