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

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


org.drools.util
Class FactHashTable

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

public class FactHashTable
extends AbstractHashTable
implements FactHandleMemory

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
FactHashTable()
           
FactHashTable(int capacity, float loadFactor)
           
 
Method Summary
 boolean add(InternalFactHandle handle)
           
 boolean add(InternalFactHandle handle, boolean checkExists)
           
 boolean contains(InternalFactHandle handle)
           
 Entry getBucket(Object object)
           
 boolean isIndexed()
           
 Iterator iterator(ReteTuple tuple)
           
 boolean remove(InternalFactHandle handle)
           
 
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.FactHandleMemory
getTable, iterator, size
 

Constructor Detail

FactHashTable

public FactHashTable()

FactHashTable

public FactHashTable(int capacity,
                     float loadFactor)
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

getBucket

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

isIndexed

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


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