Package org.apache.poi.ss.formula.token
Class DoubleNode
- java.lang.Object
-
- org.apache.poi.ss.formula.token.DefaultTokenNode<Number>
-
- org.apache.poi.ss.formula.token.NumberNode<Double>
-
- org.apache.poi.ss.formula.token.DoubleNode
-
- All Implemented Interfaces:
FormulaTokenNode
public class DoubleNode extends NumberNode<Double>
-
-
Field Summary
-
Fields inherited from class org.apache.poi.ss.formula.token.DefaultTokenNode
value
-
-
Constructor Summary
Constructors Constructor Description DoubleNode(Double value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeId
getNodeId()
Double
getValue()
boolean
toggleNegative()
-
Methods inherited from class org.apache.poi.ss.formula.token.NumberNode
accept, add, getType, hasOperands, normalize, toString, visitChildren
-
Methods inherited from class org.apache.poi.ss.formula.token.DefaultTokenNode
isOp
-
-
-
-
Constructor Detail
-
DoubleNode
public DoubleNode(Double value)
-
-
Method Detail
-
getValue
public Double getValue()
- Overrides:
getValue
in classDefaultTokenNode<Number>
-
toggleNegative
public boolean toggleNegative()
- Specified by:
toggleNegative
in classNumberNode<Double>
-
getNodeId
public NodeId getNodeId()
-
-