- java.lang.Object
-
- org.hsqldb.map.BaseHashMap
-
- org.hsqldb.lib.LongKeyHashMap<V>
-
-
Constructor Summary
Constructors Constructor Description LongKeyHashMap()
LongKeyHashMap(int initialCapacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Clear the map completely.boolean
containsKey(long key)
boolean
containsKey(java.lang.Object key)
boolean
containsValue(java.lang.Object value)
Set<Map.Entry<java.lang.Long,V>>
entrySet()
V
get(long key)
V
get(java.lang.Long key)
java.util.concurrent.locks.Lock
getReadLock()
java.util.concurrent.locks.Lock
getWriteLock()
boolean
isEmpty()
Set<java.lang.Long>
keySet()
long[]
keysToArray(long[] array)
V
put(long key, V value)
V
put(java.lang.Long key, V value)
void
putAll(LongKeyHashMap<V> other)
V
remove(long key)
V
remove(java.lang.Object key)
int
size()
Collection<V>
values()
java.lang.Object[]
valuesToArray()
<T> T[]
valuesToArray(T[] array)
-
-
-
Method Detail
-
getReadLock
public java.util.concurrent.locks.Lock getReadLock()
-
getWriteLock
public java.util.concurrent.locks.Lock getWriteLock()
-
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKey
in interfaceMap<java.lang.Long,V>
-
containsKey
public boolean containsKey(long key)
-
containsValue
public boolean containsValue(java.lang.Object value)
- Specified by:
containsValue
in interfaceMap<java.lang.Long,V>
-
get
public V get(long key)
-
remove
public V remove(java.lang.Object key)
-
remove
public V remove(long key)
-
clear
public void clear()
Description copied from class:org.hsqldb.map.BaseHashMap
Clear the map completely.
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
putAll
public void putAll(LongKeyHashMap<V> other)
-
keysToArray
public long[] keysToArray(long[] array)
-
valuesToArray
public java.lang.Object[] valuesToArray()
-
valuesToArray
public <T> T[] valuesToArray(T[] array)
-
values
public Collection<V> values()
-
-