public class GenericProjectionIndexer extends IndexerWithMemory implements ProjectionIndexer
mailbox, memory
listeners, mask, parent
nodeId, reteContainer, tag, traceInfos
Constructor and Description |
---|
GenericProjectionIndexer(ReteContainer reteContainer,
TupleMask mask) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Tuple> |
get(Tuple signature) |
Receiver |
getActiveNode()
This indexer will be updated whenever a Rete update is sent to the active node (or an equivalent time slot
allotted to it).
|
java.util.Collection<Tuple> |
getSignatures()
A collection consisting of exactly those signatures whose tuple group is not empty CONTRACT: do not modify
|
java.util.Iterator<Tuple> |
iterator() |
protected void |
update(Direction direction,
Tuple updateElement,
Tuple signature,
boolean change)
Refined version of update
|
appendParent, getMailbox, getMemory, getParents, instantiateMailbox, removeParent, update
assignTraceInfo, attachListener, detachListener, getContainer, getListeners, getMask, getParent, propagate, toStringCore
acceptPropagatedTraceInfo, getNodeId, getTag, getTraceInfoPatternsEnumerated, getTraceInfos, setTag, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
attachListener, detachListener, getListeners, getMask, getParent
acceptPropagatedTraceInfo, assignTraceInfo, getContainer, getNodeId, getTag, getTraceInfos, setTag
public GenericProjectionIndexer(ReteContainer reteContainer, TupleMask mask)
protected void update(Direction direction, Tuple updateElement, Tuple signature, boolean change)
IndexerWithMemory
update
in class IndexerWithMemory
public java.util.Iterator<Tuple> iterator()
iterator
in interface java.lang.Iterable<Tuple>
public java.util.Collection<Tuple> getSignatures()
IterableIndexer
getSignatures
in interface IterableIndexer
public Receiver getActiveNode()
Indexer
getActiveNode
in interface Indexer