01: package org.drools.reteoo;
02:
03: import org.drools.common.InternalFactHandle;
04: import org.drools.util.Entry;
05: import org.drools.util.Iterator;
06:
07: public interface FactHandleMemory {
08: public Iterator iterator();
09:
10: public Iterator iterator(ReteTuple tuple);
11:
12: public boolean add(InternalFactHandle handle, boolean checkExists);
13:
14: public boolean add(InternalFactHandle handle);
15:
16: public boolean remove(InternalFactHandle handle);
17:
18: public boolean contains(InternalFactHandle handle);
19:
20: public boolean isIndexed();
21:
22: public int size();
23:
24: // public Entry[] getTable();
25:
26: }
|