org.drools.reteoo
Interface RightTupleMemory
- All Known Implementing Classes:
- ConcurrentRightTupleList, RightTupleIndexHashTable, RightTupleList
public interface RightTupleMemory
getFirst
RightTuple getFirst(LeftTuple leftTuple,
InternalFactHandle factHandle)
- The FactHandle is always the context fact and is necessary when the object being modified is in the both left and right
node memories. This is because the memory on the opposite side would not have yet memory.removeAdd the fact, so it
could potentially be in the wrong bucket. So the bucket matches check always checks to ignore the first facthandle if it's
the same as the context fact.
- Parameters:
leftTuple
- factHandle
-
- Returns:
removeAdd
void removeAdd(RightTuple rightTuple)
add
void add(RightTuple rightTuple)
remove
void remove(RightTuple rightTuple)
contains
boolean contains(RightTuple rightTuple)
iterator
Iterator iterator()
fastIterator
FastIterator fastIterator()
fullFastIterator
FastIterator fullFastIterator()
isIndexed
boolean isIndexed()
toArray
Entry[] toArray()
size
int size()
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.