public class FloatNodeCalc extends Object implements LiteralNodeCalc
Constructor and Description |
---|
FloatNodeCalc(float value) |
Modifier and Type | Method and Description |
---|---|
<R,A> R |
accept(NodeCalcVisitor<R,A> visitor,
A arg,
int depth) |
<R,A> R |
acceptHandle(NodeCalcVisitor<R,A> visitor,
A arg,
Deque<Object> resultsStack) |
<R,A> void |
acceptIterate(NodeCalcVisitor<R,A> visitor,
A arg,
Deque<Object> nodesStack) |
boolean |
equals(Object obj) |
float |
getValue() |
int |
hashCode() |
double |
toDouble() |
void |
writeJson(com.fasterxml.jackson.core.JsonGenerator generator) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
createBigDecimal, createDouble, createFloat, createInteger
public double toDouble()
toDouble
in interface LiteralNodeCalc
public <R,A> R accept(NodeCalcVisitor<R,A> visitor, A arg, int depth)
public <R,A> R acceptHandle(NodeCalcVisitor<R,A> visitor, A arg, Deque<Object> resultsStack)
acceptHandle
in interface NodeCalc
public <R,A> void acceptIterate(NodeCalcVisitor<R,A> visitor, A arg, Deque<Object> nodesStack)
acceptIterate
in interface NodeCalc
public float getValue()
public void writeJson(com.fasterxml.jackson.core.JsonGenerator generator) throws IOException
writeJson
in interface NodeCalc
IOException
Copyright © 2020. All rights reserved.