org.drools.util
Class FactList

java.lang.Object
  extended by org.drools.util.FactList
All Implemented Interfaces:
FactHandleMemory

public class FactList
extends java.lang.Object
implements FactHandleMemory


Nested Class Summary
static class FactList.FactEntryImpl
           
 
Constructor Summary
FactList()
           
 
Method Summary
 boolean add(InternalFactHandle handle)
           
 boolean add(InternalFactHandle handle, boolean checkExists)
           
 boolean contains(InternalFactHandle handle)
           
 boolean isIndexed()
           
 Iterator iterator()
           
 Iterator iterator(ReteTuple tuple)
           
 boolean remove(InternalFactHandle handle)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FactList

public FactList()
Method Detail

iterator

public Iterator iterator(ReteTuple tuple)
Specified by:
iterator in interface FactHandleMemory

add

public boolean add(InternalFactHandle handle)
Specified by:
add in interface FactHandleMemory

add

public boolean add(InternalFactHandle handle,
                   boolean checkExists)
Specified by:
add in interface FactHandleMemory

contains

public boolean contains(InternalFactHandle handle)
Specified by:
contains in interface FactHandleMemory

remove

public boolean remove(InternalFactHandle handle)
Specified by:
remove in interface FactHandleMemory

iterator

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

size

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

isIndexed

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