org.drools.core.util.index
Class LeftTupleIndexRBTree

java.lang.Object
  extended by org.drools.core.util.index.LeftTupleIndexRBTree
All Implemented Interfaces:
Externalizable, Serializable, LeftTupleMemory

public class LeftTupleIndexRBTree
extends Object
implements LeftTupleMemory, Externalizable

See Also:
Serialized Form

Nested Class Summary
 class LeftTupleIndexRBTree.LeftTupleFastIterator
           
 
Constructor Summary
LeftTupleIndexRBTree()
           
LeftTupleIndexRBTree(IndexUtil.ConstraintType constraintType, AbstractHashTable.FieldIndex index)
           
 
Method Summary
 void add(LeftTuple tuple)
           
 boolean contains(LeftTuple leftTuple)
           
 FastIterator fastIterator()
           
 FastIterator fullFastIterator()
           
 FastIterator fullFastIterator(LeftTuple leftTuple)
           
 LeftTuple getFirst(RightTuple rightTuple)
           
 boolean isIndexed()
           
 Iterator iterator()
           
 void readExternal(ObjectInput in)
           
 void remove(LeftTuple tuple)
           
 void removeAdd(LeftTuple tuple)
           
 int size()
           
 Entry[] toArray()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeftTupleIndexRBTree

public LeftTupleIndexRBTree()

LeftTupleIndexRBTree

public LeftTupleIndexRBTree(IndexUtil.ConstraintType constraintType,
                            AbstractHashTable.FieldIndex index)
Method Detail

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

add

public void add(LeftTuple tuple)
Specified by:
add in interface LeftTupleMemory

remove

public void remove(LeftTuple tuple)
Specified by:
remove in interface LeftTupleMemory

removeAdd

public void removeAdd(LeftTuple tuple)
Specified by:
removeAdd in interface LeftTupleMemory

isIndexed

public boolean isIndexed()
Specified by:
isIndexed in interface LeftTupleMemory

size

public int size()
Specified by:
size in interface LeftTupleMemory

toArray

public Entry[] toArray()
Specified by:
toArray in interface LeftTupleMemory

getFirst

public LeftTuple getFirst(RightTuple rightTuple)
Specified by:
getFirst in interface LeftTupleMemory

iterator

public Iterator iterator()
Specified by:
iterator in interface LeftTupleMemory

contains

public boolean contains(LeftTuple leftTuple)
Specified by:
contains in interface LeftTupleMemory

fastIterator

public FastIterator fastIterator()
Specified by:
fastIterator in interface LeftTupleMemory

fullFastIterator

public FastIterator fullFastIterator()
Specified by:
fullFastIterator in interface LeftTupleMemory

fullFastIterator

public FastIterator fullFastIterator(LeftTuple leftTuple)
Specified by:
fullFastIterator in interface LeftTupleMemory


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