public class IntegerConstantOperations extends TermNodeOperations implements Constant.Operations
Constructor and Description |
---|
IntegerConstantOperations() |
Modifier and Type | Method and Description |
---|---|
byte[] |
byteValue(Constant node) |
int |
compare(Node node1,
Node node2) |
Long |
intValue(Constant node) |
Double |
realValue(Constant node) |
String |
stringValue(Constant node) |
getSimplifiedTerm, initNode, instantiate, match, simplify
doSimplifyNode, equals, nodesToSimplify, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSimplifiedTerm, instantiate, match, simplify
equals, initNode, toString
public Long intValue(Constant node)
intValue
in interface Constant.Operations
public Double realValue(Constant node)
realValue
in interface Constant.Operations
public String stringValue(Constant node)
stringValue
in interface Constant.Operations
public byte[] byteValue(Constant node)
byteValue
in interface Constant.Operations
public int compare(Node node1, Node node2)
compare
in interface Node.Operations
compare
in class DefaultNodeOperations