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 |
---|
BasicEntry(short key,
boolean value) |
BasicEntry(Short key,
Boolean value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
boolean |
getBooleanValue() |
Short |
getKey() |
short |
getShortKey() |
Boolean |
getValue() |
int |
hashCode() |
boolean |
setValue(boolean value) |
Boolean |
setValue(Boolean value) |
String |
toString() |
comparingByKey, comparingByKey, comparingByValue, comparingByValue
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()