public static class AbstractInt2IntMap.BasicEntry extends Object implements Int2IntMap.Entry
This class does not implement setValue()
, as the modification
would not be reflected in the base map.
Constructor and Description |
---|
AbstractInt2IntMap.BasicEntry(Integer key,
Integer value) |
AbstractInt2IntMap.BasicEntry(int key,
int value) |
public AbstractInt2IntMap.BasicEntry(int key, int value)
public int getIntKey()
getIntKey
in interface Int2IntMap.Entry
Map.Entry.getKey()
public int getIntValue()
getIntValue
in interface Int2IntMap.Entry
Map.Entry.getValue()
public int setValue(int value)
setValue
in interface Int2IntMap.Entry
Map.Entry.setValue(Object)
public boolean equals(Object o)
public int hashCode()