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

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


org.drools.util
Class ObjectHashMap

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

public class ObjectHashMap
extends AbstractHashTable

See Also:
Serialized Form

Nested Class Summary
static class ObjectHashMap.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
ObjectHashMap()
           
ObjectHashMap(Entry[] table)
           
ObjectHashMap(float loadFactor, Entry[] table)
           
ObjectHashMap(int capacity, float loadFactor)
           
 
Method Summary
 void clear()
           
 Object get(Object key)
           
 Entry getBucket(Object object)
           
 Object put(Object key, Object value)
           
 Object put(Object key, Object value, boolean checkExists)
           
 Object remove(Object key)
           
 
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

ObjectHashMap

public ObjectHashMap()

ObjectHashMap

public ObjectHashMap(int capacity,
                     float loadFactor)

ObjectHashMap

public ObjectHashMap(Entry[] table)

ObjectHashMap

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

put

public Object put(Object key,
                  Object value)

clear

public void clear()

put

public Object put(Object key,
                  Object value,
                  boolean checkExists)

get

public Object get(Object key)

remove

public Object remove(Object key)

getBucket

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


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