public abstract class Constant extends Term
Modifier and Type | Class and Description |
---|---|
static interface |
Constant.Operations |
Modifier and Type | Field and Description |
---|---|
static Integer |
ID |
_sm_simplified_term, sm_simplified_term_ID
_nodes, _observers, _operations, _thisoperations
Constructor and Description |
---|
Constant(int capacity) |
Modifier and Type | Method and Description |
---|---|
byte[] |
byteValue() |
void |
copyValueOf(Node n,
HashMap clones) |
int |
getClassID()
This method return the dynamic class ID of the node.
|
Node.Operations |
getOperations()
This method returns the object implementing the operations associated to this node.
|
Long |
intValue() |
Double |
realValue() |
String |
stringValue() |
getAttribute, getSimplifiedTerm, hasAttribute, instantiate, match, setAttribute, simplify, sm_simplified_term, sm_simplified_term
accept, addObserver, addOperations, children, childrenAccept, childrenOfKind, childrenOfKind, childrenOfKind, compare, compareTo, copyValueOf, dofind, dump, equals, find, find, find, find, getAttribute, getClone, getClone, hasAttribute, initNode, installOperations, notifyChanges, removeObserver, replace, setAttribute, toString
public static Integer ID
public Long intValue()
public Double realValue()
public String stringValue()
public byte[] byteValue()
public int getClassID()
Node
getClassID
in class Term
public void copyValueOf(Node n, HashMap clones)
copyValueOf
in class Term
public Node.Operations getOperations()
Node
getOperations
in class Term