public class UnaryOperation extends AbstractSingleChildNodeCalc
Modifier and Type | Class and Description |
---|---|
static class |
UnaryOperation.Operator |
child
Modifier and Type | Method and Description |
---|---|
static UnaryOperation |
abs(NodeCalc child) |
<R,A> R |
accept(NodeCalcVisitor<R,A> visitor,
A arg) |
boolean |
equals(java.lang.Object obj) |
UnaryOperation.Operator |
getOperator() |
int |
hashCode() |
static UnaryOperation |
negative(NodeCalc child) |
static UnaryOperation |
positive(NodeCalc child) |
void |
writeJson(com.fasterxml.jackson.core.JsonGenerator generator) |
getChild, setChild
public static UnaryOperation abs(NodeCalc child)
public static UnaryOperation negative(NodeCalc child)
public static UnaryOperation positive(NodeCalc child)
public UnaryOperation.Operator getOperator()
public <R,A> R accept(NodeCalcVisitor<R,A> visitor, A arg)
public void writeJson(com.fasterxml.jackson.core.JsonGenerator generator) throws java.io.IOException
java.io.IOException
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object