Package com.powsybl.timeseries.ast
Class BinaryOperation
- java.lang.Object
-
- com.powsybl.timeseries.ast.BinaryOperation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BinaryOperation.Operator
-
Method Summary
-
-
-
Method Detail
-
plus
public static BinaryOperation plus(NodeCalc left, NodeCalc right)
-
minus
public static BinaryOperation minus(NodeCalc left, NodeCalc right)
-
multiply
public static BinaryOperation multiply(NodeCalc left, NodeCalc right)
-
div
public static BinaryOperation div(NodeCalc left, NodeCalc right)
-
lessThan
public static BinaryOperation lessThan(NodeCalc left, NodeCalc right)
-
lessThanOrEqualsTo
public static BinaryOperation lessThanOrEqualsTo(NodeCalc left, NodeCalc right)
-
greaterThan
public static BinaryOperation greaterThan(NodeCalc left, NodeCalc right)
-
greaterThanOrEqualsTo
public static BinaryOperation greaterThanOrEqualsTo(NodeCalc left, NodeCalc right)
-
equals
public static BinaryOperation equals(NodeCalc left, NodeCalc right)
-
notEquals
public static BinaryOperation notEquals(NodeCalc left, NodeCalc right)
-
getOperator
public BinaryOperation.Operator getOperator()
-
getLeft
public NodeCalc getLeft()
-
setLeft
public void setLeft(NodeCalc left)
-
getRight
public NodeCalc getRight()
-
setRight
public void setRight(NodeCalc right)
-
accept
public <R,A> R accept(NodeCalcVisitor<R,A> visitor, A arg, int depth)
-
acceptHandle
public <R,A> R acceptHandle(NodeCalcVisitor<R,A> visitor, A arg, Deque<Object> resultsStack)
- Specified by:
acceptHandle
in interfaceNodeCalc
-
acceptIterate
public <R,A> void acceptIterate(NodeCalcVisitor<R,A> visitor, A arg, Deque<Object> nodesStack)
- Specified by:
acceptIterate
in interfaceNodeCalc
-
writeJson
public void writeJson(com.fasterxml.jackson.core.JsonGenerator generator) throws IOException
- Specified by:
writeJson
in interfaceNodeCalc
- Throws:
IOException
-
-