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