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

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


org.drools.util
Class ObjectHashSet

java.lang.Object
  extended by org.drools.util.AbstractHashTable
      extended by org.drools.util.ObjectHashSet
All Implemented Interfaces:
Serializable

public class ObjectHashSet
extends AbstractHashTable

See Also:
Serialized Form

Nested Class Summary
static class ObjectHashSet.ObjectEntry
           
 
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
ObjectHashSet()
           
ObjectHashSet(Entry[] table)
           
ObjectHashSet(float loadFactor, Entry[] table)
           
ObjectHashSet(int capacity, float loadFactor)
           
 
Method Summary
 boolean add(Object value)
           
 boolean add(Object value, boolean checkExists)
           
 void clear()
           
 boolean contains(Object value)
           
 Entry getBucket(Object object)
           
 boolean remove(Object value)
           
 Object[] toArray(Object[] objects)
           
 
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
 

Constructor Detail

ObjectHashSet

public ObjectHashSet()

ObjectHashSet

public ObjectHashSet(int capacity,
                     float loadFactor)

ObjectHashSet

public ObjectHashSet(Entry[] table)

ObjectHashSet

public ObjectHashSet(float loadFactor,
                     Entry[] table)
Method Detail

add

public boolean add(Object value)

clear

public void clear()

add

public boolean add(Object value,
                   boolean checkExists)

contains

public boolean contains(Object value)

remove

public boolean remove(Object value)

getBucket

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

toArray

public Object[] toArray(Object[] objects)


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