Package org.drools.core.util
Class TupleRBTree.Node<K extends Comparable<? super K>>
- java.lang.Object
-
- org.drools.core.util.index.TupleList<Object>
-
- org.drools.core.util.TupleRBTree.Node<K>
-
- All Implemented Interfaces:
Serializable,Comparable<TupleRBTree.Node<K>>,TupleMemory,Entry<TupleList<Object>>
- Enclosing class:
- TupleRBTree<K extends Comparable<? super K>>
public static class TupleRBTree.Node<K extends Comparable<? super K>> extends TupleList<Object> implements Entry<TupleList<Object>>, Comparable<TupleRBTree.Node<K>>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.drools.core.util.index.TupleList
TupleList.TupleHashTableIterator
-
Nested classes/interfaces inherited from interface org.drools.core.reteoo.TupleMemory
TupleMemory.IndexType
-
-
Field Summary
Fields Modifier and Type Field Description Kkey-
Fields inherited from class org.drools.core.util.index.TupleList
serialVersionUID
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(TupleRBTree.Node<K> other)protected voidcopyStateInto(TupleRBTree.Node<K> other)TupleListgetNext()TupleRBTree.Node<K>grandparent()voidsetNext(TupleList next)TupleRBTree.Node<K>sibling()StringtoString()TupleRBTree.Node<K>uncle()-
Methods inherited from class org.drools.core.util.index.TupleList
add, clear, contains, copyStateInto, fastIterator, fullFastIterator, fullFastIterator, get, get, getContext, getFirst, getFirst, getIndexType, getLast, isEmpty, isIndexed, iterator, remove, removeAdd, removeFirst, size, toArray
-
-
-
-
Field Detail
-
key
public K extends Comparable<? super K> key
-
-
Constructor Detail
-
Node
public Node(K key)
-
-
Method Detail
-
grandparent
public TupleRBTree.Node<K> grandparent()
-
sibling
public TupleRBTree.Node<K> sibling()
-
uncle
public TupleRBTree.Node<K> uncle()
-
setNext
public void setNext(TupleList next)
-
getNext
public TupleList getNext()
-
compareTo
public int compareTo(TupleRBTree.Node<K> other)
- Specified by:
compareToin interfaceComparable<K extends Comparable<? super K>>
-
copyStateInto
protected void copyStateInto(TupleRBTree.Node<K> other)
-
-