public static class AbstractByte2ShortMap.BasicEntry extends Object implements Byte2ShortMap.Entry
This class does not implement setValue()
, as the modification
would not be reflected in the base map.
Constructor and Description |
---|
AbstractByte2ShortMap.BasicEntry(byte key,
short value) |
AbstractByte2ShortMap.BasicEntry(Byte key,
Short value) |
public AbstractByte2ShortMap.BasicEntry(byte key, short value)
public byte getByteKey()
getByteKey
in interface Byte2ShortMap.Entry
Map.Entry.getKey()
public short getShortValue()
getShortValue
in interface Byte2ShortMap.Entry
Map.Entry.getValue()
public short setValue(short value)
setValue
in interface Byte2ShortMap.Entry
Map.Entry.setValue(Object)
public boolean equals(Object o)
public int hashCode()