org.hsqldb.lib
Class HashMap

java.lang.Object
  extended byorg.hsqldb.store.BaseHashMap
      extended byorg.hsqldb.lib.HashMap
Direct Known Subclasses:
HashMappedList

public class HashMap
extends BaseHashMap

This class does not store null keys.

Since:
1.7.2
Version:
1.7.2
Author:
fredt@users

Nested Class Summary
 
Nested classes inherited from class org.hsqldb.store.BaseHashMap
BaseHashMap.BaseHashIterator
 
Field Summary
 
Fields inherited from class org.hsqldb.store.BaseHashMap
hashIndex, intKeyOrValue, intKeyTable, intValueTable, longKeyOrValue, longKeyTable, longValueTable, NO_PURGE, noKeyOrValue, objectKeyOrValue, objectKeyTable, objectValueTable, PURGE_ALL, PURGE_HALF, PURGE_QUARTER, purgePolicy
 
Constructor Summary
HashMap()
           
HashMap(int initialCapacity)
           
HashMap(int initialCapacity, float loadFactor)
           
 
Method Summary
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 Object get(Object key)
           
 Set keySet()
           
 Object put(Object key, Object value)
           
 void putAll(HashMap t)
           
 Object remove(Object key)
           
 Collection values()
           
 
Methods inherited from class org.hsqldb.store.BaseHashMap
addOrRemove, clear, clear, containsKey, containsKey, getLookup, getLookup, getLookup, getObject, getObject, getObject, isEmpty, rehash, removeLookup, removeObject, removeRow, reset, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashMap

public HashMap()

HashMap

public HashMap(int initialCapacity)
        throws IllegalArgumentException

HashMap

public HashMap(int initialCapacity,
               float loadFactor)
        throws IllegalArgumentException
Method Detail

get

public Object get(Object key)

put

public Object put(Object key,
                  Object value)

remove

public Object remove(Object key)

containsKey

public boolean containsKey(Object key)
Overrides:
containsKey in class BaseHashMap

containsValue

public boolean containsValue(Object value)
Overrides:
containsValue in class BaseHashMap

putAll

public void putAll(HashMap t)

keySet

public Set keySet()

values

public Collection values()


Copyright © 2001 - 2004 HSQL Development Group. All Rights Reserved.