public class NodeConstantDouble extends java.lang.Object implements IExpressionNode.INodeDouble, IConstantNode
IExpressionNode.INodeBoolean, IExpressionNode.INodeDouble, IExpressionNode.INodeLong, IExpressionNode.INodeObject<T>, IExpressionNode.INodeString| Modifier and Type | Field and Description |
|---|---|
static NodeConstantDouble |
ONE |
double |
value |
static NodeConstantDouble |
ZERO |
| Constructor and Description |
|---|
NodeConstantDouble(double value) |
| Modifier and Type | Method and Description |
|---|---|
double |
evaluate() |
IExpressionNode.INodeDouble |
inline() |
static NodeConstantDouble |
of(double value) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitevaluateAsString, getAsDoublepublic static final NodeConstantDouble ZERO
public static final NodeConstantDouble ONE
public final double value
public static NodeConstantDouble of(double value)
public double evaluate()
evaluate in interface IExpressionNode.INodeDoublepublic IExpressionNode.INodeDouble inline()
inline in interface IExpressionNodeinline in interface IExpressionNode.INodeDoublepublic java.lang.String toString()
toString in class java.lang.Object