public interface ILongHashMap<V>
Modifier and Type | Method and Description |
---|---|
int |
capacity()
Returns the map capacity
|
boolean |
containsKey(long key)
Returns true if the given key exists
|
LongEntry<V> |
containsValue(V value)
Returns the key/value pair, if the given value exists, otherwise returns null
|
LongEntry<V>[] |
entries()
Returns the set of key/value entries contained
|
V |
get(long key)
Returns the value associated with a key, or null if no such key exists
|
boolean |
isEmpty()
Returns true if the map is empty
|
long[] |
keySet()
Returns all keys
|
V |
put(long key,
V value)
Puts the given key in the map, returning any previously associated value of the given key
|
int |
size()
Returns the number of key/value pairs
|
V[] |
values()
Returns all values
|
V put(long key, V value)
boolean containsKey(long key)
LongEntry<V> containsValue(V value)
java.lang.NullPointerException
- An argument is nullV get(long key)
boolean isEmpty()
V[] values()
long[] keySet()
int size()
int capacity()