站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

TupleHashTable (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.util
Class TupleHashTable

java.lang.Object
  extended by org.drools.util.AbstractHashTable
      extended by org.drools.util.TupleHashTable
All Implemented Interfaces:
Serializable, TupleMemory

public class TupleHashTable
extends AbstractHashTable
implements TupleMemory

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.drools.util.AbstractHashTable
AbstractHashTable.DoubleCompositeIndex, AbstractHashTable.EqualityEquals, AbstractHashTable.FactEntry, AbstractHashTable.FieldIndex, AbstractHashTable.HashTableIterator, AbstractHashTable.Index, AbstractHashTable.InstanceEquals, AbstractHashTable.ObjectComparator, AbstractHashTable.SingleIndex, AbstractHashTable.TripleCompositeIndex
 
Field Summary
 
Fields inherited from class org.drools.util.AbstractHashTable
comparator, loadFactor, size, table, threshold
 
Constructor Summary
TupleHashTable()
           
TupleHashTable(int capacity, float loadFactor)
           
 
Method Summary
 void add(ReteTuple tuple)
           
 boolean contains(ReteTuple tuple)
           
 ReteTuple get(ReteTuple tuple)
           
 Entry getBucket(Object object)
           
 boolean isIndexed()
           
 Iterator iterator(InternalFactHandle handle)
           
 ReteTuple remove(ReteTuple tuple)
           
 
Methods inherited from class org.drools.util.AbstractHashTable
getBucket, getTable, indexOf, isEmpty, iterator, resize, setComparator, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.drools.reteoo.TupleMemory
getTable, iterator, size
 

Constructor Detail

TupleHashTable

public TupleHashTable()

TupleHashTable

public TupleHashTable(int capacity,
                      float loadFactor)
Method Detail

iterator

public Iterator iterator(InternalFactHandle handle)
Specified by:
iterator in interface TupleMemory

add

public void add(ReteTuple tuple)
Specified by:
add in interface TupleMemory

get

public ReteTuple get(ReteTuple tuple)

remove

public ReteTuple remove(ReteTuple tuple)
Specified by:
remove in interface TupleMemory

getBucket

public Entry getBucket(Object object)
Specified by:
getBucket in class AbstractHashTable

contains

public boolean contains(ReteTuple tuple)
Specified by:
contains in interface TupleMemory

isIndexed

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


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.