java.lang.Object
com.powsybl.timeseries.ast.FloatNodeCalc
- All Implemented Interfaces:
LiteralNodeCalc
,NodeCalc
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<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
float
getValue()
int
hashCode()
double
toDouble()
void
writeJson
(com.fasterxml.jackson.core.JsonGenerator generator)
-
Constructor Details
-
FloatNodeCalc
public FloatNodeCalc(float value)
-
-
Method Details
-
toDouble
public double toDouble()- Specified by:
toDouble
in interfaceLiteralNodeCalc
-
accept
-
acceptHandle
- Specified by:
acceptHandle
in interfaceNodeCalc
-
acceptIterate
- Specified by:
acceptIterate
in interfaceNodeCalc
-
getValue
public float getValue() -
writeJson
- Specified by:
writeJson
in interfaceNodeCalc
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-