public static class AbstractLong2ObjectMap.BasicEntry<V> extends Object implements LongMap.Entry<V>
This class does not implement setValue(), as the modification
would not be reflected in the base map.
| Constructor and Description |
|---|
BasicEntry(long key,
V value) |
BasicEntry(Long key,
V value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
getKey() |
long |
getLongKey() |
V |
getValue() |
int |
hashCode() |
void |
setValue(V value) |
String |
toString() |
protected long key
protected V value
public BasicEntry(long key,
V value)
public long getKey()
getKey in interface LongMap.Entry<V>public long getLongKey()
public V getValue()
getValue in interface LongMap.Entry<V>public void setValue(V value)
setValue in interface LongMap.Entry<V>public boolean equals(Object o)
equals in interface LongMap.Entry<V>equals in class Objectpublic int hashCode()
hashCode in interface LongMap.Entry<V>hashCode in class ObjectCopyright © 2015. All rights reserved.