org.hsqldb.lib
Class HashMap
java.lang.Object
org.hsqldb.store.BaseHashMap
org.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
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)
|
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 |
HashMap
public HashMap()
HashMap
public HashMap(int initialCapacity)
throws IllegalArgumentException
HashMap
public HashMap(int initialCapacity,
float loadFactor)
throws IllegalArgumentException
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.