org.drools.core.util.index
Class LeftTupleIndexRangeRBTree

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

public class LeftTupleIndexRangeRBTree
extends Object
implements LeftTupleMemory, Externalizable

See Also:
Serialized Form

Nested Class Summary
 class LeftTupleIndexRangeRBTree.LeftTupleFastIterator
           
 
Constructor Summary
LeftTupleIndexRangeRBTree()
           
LeftTupleIndexRangeRBTree(IndexUtil.ConstraintType ascendingConstraintType, AbstractHashTable.FieldIndex ascendingIndex, IndexUtil.ConstraintType descendingConstraintType, AbstractHashTable.FieldIndex descendingIndex)
           
 
Method Summary
 void add(LeftTuple leftTuple)
           
 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

LeftTupleIndexRangeRBTree

public LeftTupleIndexRangeRBTree()

LeftTupleIndexRangeRBTree

public LeftTupleIndexRangeRBTree(IndexUtil.ConstraintType ascendingConstraintType,
                                 AbstractHashTable.FieldIndex ascendingIndex,
                                 IndexUtil.ConstraintType descendingConstraintType,
                                 AbstractHashTable.FieldIndex descendingIndex)
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 leftTuple)
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-2013 JBoss by Red Hat. All Rights Reserved.