public static enum Spatial.DFSMode extends java.lang.Enum<Spatial.DFSMode>
| Enum Constant and Description |
|---|
POST_ORDER
Post order: the children are visited first, then the parent.
|
PRE_ORDER
Pre order: the current spatial is visited first, then its children.
|
| Modifier and Type | Method and Description |
|---|---|
static Spatial.DFSMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Spatial.DFSMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Spatial.DFSMode PRE_ORDER
public static final Spatial.DFSMode POST_ORDER
public static Spatial.DFSMode[] values()
for (Spatial.DFSMode c : Spatial.DFSMode.values()) System.out.println(c);
public static Spatial.DFSMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null