public static enum FireResult.Type extends Enum<FireResult.Type>
| Enum Constant and Description |
|---|
CONTINUE
Element wasn't yet finished.
|
FAILED
The element is finished and it failed.
|
FOLLOW
Some child element is supposed to be evaluated.
|
FULFILLED
The element is finished and result is success.
|
SURFACE
Well, not many will use this I suppose, but move up in the stack,
something like return from function.
|
SURFACE_CONTINUE
E.g.
|
| Modifier and Type | Method and Description |
|---|---|
static FireResult.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FireResult.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FireResult.Type FULFILLED
public static final FireResult.Type FAILED
public static final FireResult.Type CONTINUE
public static final FireResult.Type FOLLOW
public static final FireResult.Type SURFACE
public static final FireResult.Type SURFACE_CONTINUE
public static FireResult.Type[] values()
for (FireResult.Type c : FireResult.Type.values()) System.out.println(c);
public static FireResult.Type 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 © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.