public abstract class AbstractNode extends java.lang.Object implements INode
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.ThreadLocal |
clones
The thread local.
|
protected int |
nodeid
The node id.
|
| Constructor and Description |
|---|
AbstractNode(int nodeid)
Create a new node.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkNodeConsistency(ReteMemory mem)
Check the consistency of the node.
|
java.lang.Object |
clone()
Clone this object.
|
protected abstract void |
doClone(java.lang.Object theclone)
Do clone makes a deep clone without regarding cycles.
|
boolean |
equals(java.lang.Object obj)
Test for equality.
|
int |
getNodeId()
Get the nodeid.
|
int |
hashCode()
Get the hashcode.
|
java.lang.String |
toString()
Get the string representation.
|
protected java.lang.String |
toString(java.lang.String insert)
Customizable string representation.
|
finalize, getClass, notify, notifyAll, wait, wait, waitcreateNodeMemory, getIndirectAttributes, getNodeMemory, getRelevantAttributes, modifyIndirectObjectprotected int nodeid
protected static final java.lang.ThreadLocal clones
public int getNodeId()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectprotected java.lang.String toString(java.lang.String insert)
public java.lang.Object clone()
protected abstract void doClone(java.lang.Object theclone)
theclone - The clone.public boolean checkNodeConsistency(ReteMemory mem)
checkNodeConsistency in interface INode