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