public class PrecomputeNodeImpl extends java.lang.Object implements PrecomputeNode
Constructor and Description |
---|
PrecomputeNodeImpl(PrecomputeNodeKey key) |
Modifier and Type | Method and Description |
---|---|
void |
add(PrecomputeNodeImpl node) |
void |
addFunction(java.lang.String name,
java.lang.Object value) |
PrecomputeNode |
getFirstChild() |
int |
getFunctionCount() |
java.lang.String |
getFunctionName(int idx) |
java.lang.Object |
getFunctionResult(int idx) |
PrecomputeNodeKey |
getKey() |
PrecomputeNode |
getLastChild() |
PrecomputeNode |
getNext() |
PrecomputeNode |
getParent() |
void |
prune() |
protected void |
setFirstChild(PrecomputeNodeImpl firstChild) |
protected void |
setLastChild(PrecomputeNodeImpl lastChild) |
protected void |
setNext(PrecomputeNodeImpl next) |
protected void |
setParent(PrecomputeNodeImpl parent) |
public PrecomputeNodeImpl(PrecomputeNodeKey key)
public PrecomputeNodeKey getKey()
getKey
in interface PrecomputeNode
public PrecomputeNode getParent()
protected void setParent(PrecomputeNodeImpl parent)
public PrecomputeNode getNext()
protected void setNext(PrecomputeNodeImpl next)
public PrecomputeNode getFirstChild()
protected void setFirstChild(PrecomputeNodeImpl firstChild)
public PrecomputeNode getLastChild()
protected void setLastChild(PrecomputeNodeImpl lastChild)
public void add(PrecomputeNodeImpl node)
public void addFunction(java.lang.String name, java.lang.Object value)
public int getFunctionCount()
getFunctionCount
in interface PrecomputeNode
public java.lang.String getFunctionName(int idx)
getFunctionName
in interface PrecomputeNode
public java.lang.Object getFunctionResult(int idx)
getFunctionResult
in interface PrecomputeNode
public void prune()