public static class AbstractReference2BooleanMap.BasicEntry<K> extends Object implements Reference2BooleanMap.Entry<K>
This class does not implement setValue(), as the modification would not be reflected in the base map.
| Constructor and Description |
|---|
BasicEntry(K key,
boolean value) |
BasicEntry(K key,
Boolean value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
boolean |
getBooleanValue() |
K |
getKey() |
Boolean |
getValue() |
int |
hashCode() |
boolean |
setValue(boolean value) |
Boolean |
setValue(Boolean value) |
String |
toString() |
comparingByKey, comparingByKey, comparingByValue, comparingByValuepublic BasicEntry(K key, boolean value)
public boolean getBooleanValue()
getBooleanValue in interface Reference2BooleanMap.Entry<K>Map.Entry.getValue()public boolean setValue(boolean value)
setValue in interface Reference2BooleanMap.Entry<K>Map.Entry.setValue(Object)public boolean equals(Object o)
public int hashCode()