public enum NodeConstantBoolean extends java.lang.Enum<NodeConstantBoolean> implements IExpressionNode.INodeBoolean, IConstantNode
IExpressionNode.INodeBoolean, IExpressionNode.INodeDouble, IExpressionNode.INodeLong, IExpressionNode.INodeObject<T>, IExpressionNode.INodeString
Modifier and Type | Field and Description |
---|---|
boolean |
value |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate() |
static NodeConstantBoolean |
get(boolean value)
Deprecated.
Use
of(boolean) instead |
IExpressionNode.INodeBoolean |
inline() |
NodeConstantBoolean |
invert() |
static NodeConstantBoolean |
of(boolean value) |
static NodeConstantBoolean |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NodeConstantBoolean[] |
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
evaluateAsString, getAsBoolean
public static final NodeConstantBoolean TRUE
public static final NodeConstantBoolean FALSE
public static NodeConstantBoolean[] values()
for (NodeConstantBoolean c : NodeConstantBoolean.values()) System.out.println(c);
public static NodeConstantBoolean 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 nullpublic static NodeConstantBoolean get(boolean value)
of(boolean)
insteadpublic static NodeConstantBoolean of(boolean value)
public boolean evaluate()
evaluate
in interface IExpressionNode.INodeBoolean
public IExpressionNode.INodeBoolean inline()
inline
in interface IExpressionNode
inline
in interface IExpressionNode.INodeBoolean
public NodeConstantBoolean invert()