public static class AbstractLong2ObjectMap.BasicEntry<V> extends Object implements Long2ObjectMap.Entry<V>
This class does not implement setValue(), as the modification
would not be reflected in the base map.
| Constructor and Description |
|---|
BasicEntry() |
BasicEntry(long key,
V value) |
BasicEntry(Long key,
V value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
getLongKey()
Returns the key corresponding to this entry.
|
V |
getValue() |
int |
hashCode() |
V |
setValue(V value) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetKeycomparingByKey, comparingByKey, comparingByValue, comparingByValueprotected long key
protected V value
public BasicEntry()
public BasicEntry(long key,
V value)
public long getLongKey()
Long2ObjectMap.EntrygetLongKey in interface Long2ObjectMap.Entry<V>Map.Entry.getKey()public boolean equals(Object o)
public int hashCode()
Copyright © 2020. All rights reserved.