org.drools.core.util
Class LeftTupleList

java.lang.Object
  extended by org.drools.core.util.LeftTupleList
All Implemented Interfaces:
Entry, LeftTupleMemory

public class LeftTupleList
extends Object
implements LeftTupleMemory, Entry


Nested Class Summary
static class LeftTupleList.TupleHashTableIterator
           
 
Field Summary
 LeftTuple first
           
 LeftTuple last
           
 Entry next
           
static long serialVersionUID
           
 
Constructor Summary
LeftTupleList()
           
LeftTupleList(AbstractHashTable.Index index, int hashCode)
           
 
Method Summary
 void add(LeftTuple leftTuple)
           
 boolean contains(LeftTuple leftTuple)
           
 boolean equals(Object object)
           
 FastIterator fastIterator()
           
 FastIterator fullFastIterator()
           
 FastIterator fullFastIterator(LeftTuple leftTuple)
           
 Object get(LeftTuple leftTtuple)
           
 Entry getBucket(Object object)
           
 LeftTuple getFirst()
           
 LeftTuple getFirst(RightTuple rightTuple)
           
 Entry getNext()
           
 int hashCode()
           
 boolean isIndexed()
           
 Iterator iterator()
           
 boolean matches(LeftTuple tuple, int tupleHashCode)
           
 boolean matches(Object object, int objectHashCode)
           
 void remove(LeftTuple leftTuple)
           
 void removeAdd(LeftTuple tuple)
           
 void setNext(Entry next)
           
 int size()
           
 LeftTuple[] toArray()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values

next

public Entry next

first

public LeftTuple first

last

public LeftTuple last
Constructor Detail

LeftTupleList

public LeftTupleList()

LeftTupleList

public LeftTupleList(AbstractHashTable.Index index,
                     int hashCode)
Method Detail

getFirst

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

getFirst

public LeftTuple getFirst()

removeAdd

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

add

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

remove

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

contains

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

get

public Object get(LeftTuple leftTtuple)

size

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

toArray

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

getBucket

public Entry getBucket(Object object)

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

iterator

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

isIndexed

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

matches

public boolean matches(Object object,
                       int objectHashCode)

matches

public boolean matches(LeftTuple tuple,
                       int tupleHashCode)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object object)
Overrides:
equals in class Object

getNext

public Entry getNext()
Specified by:
getNext in interface Entry

setNext

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

toString

public String toString()
Overrides:
toString in class Object


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