|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LongMap<V>
This class extends Map
with methods that are specific
for long
values.
Nested Class Summary | |
---|---|
static interface |
LongMap.Entry<V>
A map entry (key-value pair). |
Method Summary | |
---|---|
boolean |
containsKey(long key)
Returns true if this map contains a mapping for the specified key. |
V |
get(long key)
Returns the value to which this map maps the specified key. |
LongSet |
longKeySet()
Returns a set view of the keys contained in this map. |
V |
put(long key,
V value)
Associates the specified value with the specified key in this map. |
V |
remove(long key)
Removes the mapping for this key from this map if present. |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Method Detail |
---|
boolean containsKey(long key)
Map.containsKey(Object)
V get(long key)
Map.get(Object)
V put(long key, V value)
Map.put(Object, Object)
V remove(long key)
Map.remove(Object)
LongSet longKeySet()
Map.keySet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |