org.drools.core.util
Class RightTupleRBTree<K extends Comparable<? super K>>
java.lang.Object
org.drools.core.util.RightTupleRBTree<K>
public class RightTupleRBTree<K extends Comparable<? super K>>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERIFY_RBTREE
public static final boolean VERIFY_RBTREE
- See Also:
- Constant Field Values
root
public RightTupleRBTree.Node<K extends Comparable<? super K>> root
RightTupleRBTree
public RightTupleRBTree()
verifyProperties
public void verifyProperties()
lookup
public RightTupleRBTree.Node<K> lookup(K key)
isEmpty
public boolean isEmpty()
first
public RightTupleRBTree.Node<K> first()
last
public RightTupleRBTree.Node<K> last()
fastIterator
public FastIterator fastIterator()
range
public FastIterator range(K lowerBound,
boolean testLowerEqual,
K upperBound,
boolean testUpperEqual)
rangeUperBounded
public void rangeUperBounded(K upperBound,
boolean testUpperEqual)
rangeLowerBounded
public void rangeLowerBounded(K upperBound,
boolean testUpperEqual)
findNearestNode
public RightTupleRBTree.Node<K> findNearestNode(K key,
boolean allowEqual,
RightTupleRBTree.Boundary boundary)
insert
public RightTupleRBTree.Node<K> insert(K key)
delete
public void delete(K key)
print
public void print()
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.