当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
TupleIndexHashTable (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.util
Class TupleIndexHashTable
java.lang.Object
org.drools.util.AbstractHashTable
org.drools.util.TupleIndexHashTable
- All Implemented Interfaces:
- Serializable, TupleMemory
public class TupleIndexHashTable
- extends AbstractHashTable
- implements TupleMemory
- See Also:
- Serialized Form
Field Summary |
static int |
PRIME
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PRIME
public static final int PRIME
- See Also:
- Constant Field Values
TupleIndexHashTable
public TupleIndexHashTable(AbstractHashTable.FieldIndex[] index)
TupleIndexHashTable
public TupleIndexHashTable(int capacity,
float loadFactor,
AbstractHashTable.FieldIndex[] index)
iterator
public Iterator iterator()
- Specified by:
iterator
in interface TupleMemory
- Overrides:
iterator
in class AbstractHashTable
iterator
public Iterator iterator(InternalFactHandle handle)
- Specified by:
iterator
in interface TupleMemory
isIndexed
public boolean isIndexed()
- Specified by:
isIndexed
in interface TupleMemory
getBucket
public Entry getBucket(Object object)
- Specified by:
getBucket
in class AbstractHashTable
add
public void add(ReteTuple tuple)
- Specified by:
add
in interface TupleMemory
add
public boolean add(ReteTuple tuple,
boolean checkExists)
remove
public ReteTuple remove(ReteTuple tuple)
- Specified by:
remove
in interface TupleMemory
contains
public boolean contains(ReteTuple tuple)
- Specified by:
contains
in interface TupleMemory
get
public TupleIndexHashTable.FieldIndexEntry get(InternalFactHandle handle)
size
public int size()
- Specified by:
size
in interface TupleMemory
- Overrides:
size
in class AbstractHashTable
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.