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