V
- type of the value instance.public class LongMap<V> extends Object
Constructor and Description |
---|
LongMap()
Initialize an empty LongMap.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(long key)
Whether
key is present in the map. |
V |
get(long key)
Get value for this
key |
V |
put(long key,
V value)
Put a new entry into the map
|
V |
remove(long key)
Remove an entry from the map
|
public boolean containsKey(long key)
key
is present in the map.key
- the key to find.true
if key
is present in the map.public V get(long key)
key
key
- the key to find.null
.public V remove(long key)
key
- key to remove from the map.null
.Copyright © 2018 Eclipse JGit Project. All rights reserved.