org.cubeengine.converter.node
Class BooleanNode
java.lang.Object
org.cubeengine.converter.node.Commentable
org.cubeengine.converter.node.Node<V>
org.cubeengine.converter.node.ValueNode<Boolean>
org.cubeengine.converter.node.BooleanNode
public class BooleanNode
- extends ValueNode<Boolean>
A Boolean Node
|
Constructor Summary |
BooleanNode(boolean value)
Creates a BooleanNode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BooleanNode
public BooleanNode(boolean value)
- Creates a BooleanNode
- Parameters:
value - a boolean
falseNode
public static BooleanNode falseNode()
- Creates a "False" Node
- Returns:
- the BooleanNode
trueNode
public static BooleanNode trueNode()
- Creates a "True" Node
- Returns:
- the BooleanNode
of
public static BooleanNode of(boolean bool)
- Creates a BooleanNode
- Parameters:
bool - a boolean
- Returns:
- the BooleanNode
Copyright © 2013–2017. All rights reserved.