org.drools.core.util
Class RightTupleRBTree.Node<K extends Comparable<? super K>>

java.lang.Object
  extended by org.drools.core.util.index.RightTupleList
      extended by org.drools.core.util.RightTupleRBTree.Node<K>
All Implemented Interfaces:
Comparable<RightTupleRBTree.Node<K>>, Entry, RightTupleMemory
Enclosing class:
RightTupleRBTree<K extends Comparable<? super K>>

public static class RightTupleRBTree.Node<K extends Comparable<? super K>>
extends RightTupleList
implements Entry, Comparable<RightTupleRBTree.Node<K>>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.drools.core.util.index.RightTupleList
RightTupleList.TupleHashTableIterator
 
Nested classes/interfaces inherited from interface org.drools.reteoo.RightTupleMemory
RightTupleMemory.IndexType
 
Field Summary
 K key
           
 
Fields inherited from class org.drools.core.util.index.RightTupleList
first, last, next, previous
 
Constructor Summary
RightTupleRBTree.Node(K key)
           
 
Method Summary
 int compareTo(RightTupleRBTree.Node<K> other)
           
protected  void copyStateInto(RightTupleRBTree.Node<K> other)
           
 Entry getNext()
           
 RightTupleRBTree.Node<K> grandparent()
           
 void setNext(Entry next)
           
 RightTupleRBTree.Node<K> sibling()
           
 String toString()
           
 RightTupleRBTree.Node<K> uncle()
           
 
Methods inherited from class org.drools.core.util.index.RightTupleList
add, contains, contains, copyStateInto, equals, fastIterator, fullFastIterator, fullFastIterator, get, get, getFirst, getFirst, getIndex, getIndexType, getLast, hashCode, insertAfter, insertBefore, isIndexed, iterator, matches, matches, remove, removeAdd, size, toArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

key

public K extends Comparable<? super K> key
Constructor Detail

RightTupleRBTree.Node

public RightTupleRBTree.Node(K key)
Method Detail

grandparent

public RightTupleRBTree.Node<K> grandparent()

sibling

public RightTupleRBTree.Node<K> sibling()

uncle

public RightTupleRBTree.Node<K> uncle()

toString

public String toString()
Overrides:
toString in class RightTupleList

setNext

public void setNext(Entry next)
Specified by:
setNext in interface Entry
Overrides:
setNext in class RightTupleList

getNext

public Entry getNext()
Specified by:
getNext in interface Entry
Overrides:
getNext in class RightTupleList

compareTo

public int compareTo(RightTupleRBTree.Node<K> other)
Specified by:
compareTo in interface Comparable<RightTupleRBTree.Node<K extends Comparable<? super K>>>

copyStateInto

protected void copyStateInto(RightTupleRBTree.Node<K> other)


Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.