public static class AbstractInt2LongMap.BasicEntry extends Object implements Int2LongMap.Entry
This class does not implement setValue(), as the modification would not be reflected in the base map.
| Constructor and Description |
|---|
BasicEntry(Integer key,
Long value) |
BasicEntry(int key,
long value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getIntKey() |
Integer |
getKey()
Deprecated.
Please use the corresponding type-specific method
instead.
|
long |
getLongValue() |
Long |
getValue()
Deprecated.
Please use the corresponding type-specific method
instead.
|
int |
hashCode() |
long |
setValue(long value) |
Long |
setValue(Long value)
Deprecated.
Please use the corresponding type-specific method
instead.
|
String |
toString() |
comparingByKey, comparingByKey, comparingByValue, comparingByValue@Deprecated public Integer getKey()
public int getIntKey()
getIntKey in interface Int2LongMap.EntryMap.Entry.getKey()@Deprecated public Long getValue()
public long getLongValue()
getLongValue in interface Int2LongMap.EntryMap.Entry.getValue()public long setValue(long value)
setValue in interface Int2LongMap.EntryMap.Entry.setValue(Object)@Deprecated public Long setValue(Long value)
public boolean equals(Object o)
public int hashCode()