Package org.drools.core.util.index
Class TupleListWithContext<C>
java.lang.Object
org.drools.core.util.LinkedList<TupleImpl>
org.drools.core.util.index.TupleList
org.drools.core.util.index.TupleListWithContext<C>
- All Implemented Interfaces:
Externalizable,Serializable,TupleMemory,SingleLinkedEntry<TupleList>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drools.core.util.LinkedList
LinkedList.JavaUtilIterator<T extends DoubleLinkedEntry<T>>, LinkedList.LinkedListFastIterator, LinkedList.LinkedListIterator<T extends DoubleLinkedEntry<T>>, LinkedList.TMSLinkedListFastIterator<K extends SingleLinkedEntry<K>>Nested classes/interfaces inherited from interface org.drools.core.reteoo.TupleMemory
TupleMemory.IndexType -
Field Summary
FieldsFields inherited from class org.drools.core.util.LinkedList
fastIterator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Iterates the list removing all the nodes until there are no more nodes to remove.protected voidcopyStateInto(TupleListWithContext<C> other) voidsetContext(C context) Methods inherited from class org.drools.core.util.index.TupleList
add, copyStateInto, fastIterator, fullFastIterator, fullFastIterator, get, getFirst, getIndexType, getNext, isIndexed, remove, removeFirst, removeLast, setNext, toStringMethods inherited from class org.drools.core.util.LinkedList
addAllToCollection, addFirst, addLast, contains, copyStateInto, equals, get, get, getFirst, getLast, hashCode, insertAfter, isEmpty, javaUtilIterator, readExternal, removeAdd, size, writeExternalMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.drools.core.reteoo.TupleMemory
getIndex, removeAdd, size
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
TupleListWithContext
public TupleListWithContext() -
TupleListWithContext
-
TupleListWithContext
-
-
Method Details
-
getContext
-
setContext
-
clear
public void clear()Description copied from class:LinkedListIterates the list removing all the nodes until there are no more nodes to remove.- Specified by:
clearin interfaceTupleMemory- Overrides:
clearin classLinkedList<TupleImpl>
-
copyStateInto
-