public class NodeVariableObject<T> extends NodeVariable implements IVariableNode.IVariableNodeObject<T>
IVariableNode.IVariableNodeBoolean, IVariableNode.IVariableNodeDouble, IVariableNode.IVariableNodeLong, IVariableNode.IVariableNodeObject<T>
IExpressionNode.INodeBoolean, IExpressionNode.INodeDouble, IExpressionNode.INodeLong, IExpressionNode.INodeObject<T>, IExpressionNode.INodeString
Modifier and Type | Field and Description |
---|---|
java.lang.Class<T> |
type |
T |
value |
isConst, name
Constructor and Description |
---|
NodeVariableObject(java.lang.String name,
java.lang.Class<T> type) |
Modifier and Type | Method and Description |
---|---|
T |
evaluate() |
java.lang.Class<T> |
getType() |
IExpressionNode.INodeObject<T> |
inline() |
void |
set(T value) |
setConstant, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
set, setUnchecked
create, evaluateAsString, get
public NodeVariableObject(java.lang.String name, java.lang.Class<T> type)
public java.lang.Class<T> getType()
getType
in interface IExpressionNode.INodeObject<T>
public T evaluate()
evaluate
in interface IExpressionNode.INodeObject<T>
public IExpressionNode.INodeObject<T> inline()
inline
in interface IExpressionNode
inline
in interface IExpressionNode.INodeObject<T>
public void set(T value)
set
in interface IVariableNode.IVariableNodeObject<T>