Class LongValueHashMap<K>
java.lang.Object
org.hsqldb.lib.LongValueHashMap<K>
A Map of Object keys to long primitives.
This class does not store null keys.
- Since:
- 1.9.0
- Author:
- Fred Toussi (fredt@users dot sourceforge.net)
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLongValueHashMap(int initialCapacity) LongValueHashMap(int initialCapacity, ObjectComparator<K> comparator) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear the map completely.org.hsqldb.map.BaseHashMapclone()booleancontainsKey(Object key) booleancontainsValue(long value) entrySet()longlongbooleangetKey(long value) booleanisEmpty()keySet()booleanvoidputAll(LongValueHashMap<K> t) booleanintsize()values()
-
Field Details
-
ACCESS_MAX
public static final int ACCESS_MAX- See Also:
-
emptyObjectArray
-
-
Constructor Details
-
LongValueHashMap
public LongValueHashMap() -
LongValueHashMap
- Throws:
IllegalArgumentException
-
LongValueHashMap
-
-
Method Details
-
get
- Throws:
NoSuchElementException
-
get
-
get
-
getKey
-
put
-
remove
-
containsKey
-
containsValue
public boolean containsValue(long value) -
putAll
-
keySet
-
values
-
entrySet
-
clear
public void clear()Clear the map completely. -
size
public int size() -
isEmpty
public boolean isEmpty() -
clone
public org.hsqldb.map.BaseHashMap clone()
-