public static class AbstractObject2BooleanMap.BasicEntry<K> extends Object implements Object2BooleanMap.Entry<K>
This class does not implement setValue(), as the modification
would not be reflected in the base map.
| Constructor and Description |
|---|
BasicEntry() |
BasicEntry(K key,
boolean value) |
BasicEntry(K key,
Boolean value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
boolean |
getBooleanValue()
Returns the value corresponding to this entry.
|
K |
getKey() |
int |
hashCode() |
boolean |
setValue(boolean value)
Replaces the value corresponding to this entry with the specified value (optional operation).
|
String |
toString() |
getValue, setValuecomparingByKey, comparingByKey, comparingByValue, comparingByValuepublic BasicEntry()
public BasicEntry(K key, boolean value)
public boolean getBooleanValue()
Object2BooleanMap.EntrygetBooleanValue in interface Object2BooleanMap.Entry<K>Map.Entry.getValue()public boolean setValue(boolean value)
Object2BooleanMap.EntrysetValue in interface Object2BooleanMap.Entry<K>Map.Entry.setValue(Object)public boolean equals(Object o)
public int hashCode()