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() |
BasicEntry(short key,
boolean value) |
BasicEntry(Short key,
Boolean value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
boolean |
getBooleanValue()
Returns the value corresponding to this entry.
|
short |
getShortKey()
Returns the key corresponding to this entry.
|
int |
hashCode() |
boolean |
setValue(boolean value)
Replaces the value corresponding to this entry with the specified value (optional operation).
|
String |
toString() |
getKey, getValue, setValuecomparingByKey, comparingByKey, comparingByValue, comparingByValuepublic BasicEntry()
public BasicEntry(short key,
boolean value)
public short getShortKey()
Short2BooleanMap.EntrygetShortKey in interface Short2BooleanMap.EntryMap.Entry.getKey()public boolean getBooleanValue()
Short2BooleanMap.EntrygetBooleanValue in interface Short2BooleanMap.EntryMap.Entry.getValue()public boolean setValue(boolean value)
Short2BooleanMap.EntrysetValue in interface Short2BooleanMap.EntryMap.Entry.setValue(Object)public boolean equals(Object o)
public int hashCode()