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.
| Modifier and Type | Field and Description |
|---|---|
protected K |
key |
protected boolean |
value |
| 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() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetValue, setValuecomparingByKey, comparingByKey, comparingByValue, comparingByValueprotected K key
protected boolean value
public BasicEntry()
public BasicEntry(K key, boolean value)
public boolean getBooleanValue()
Reference2BooleanMap.EntrygetBooleanValue in interface Reference2BooleanMap.Entry<K>Map.Entry.getValue()public boolean setValue(boolean value)
Reference2BooleanMap.EntrysetValue in interface Reference2BooleanMap.Entry<K>Map.Entry.setValue(Object)public boolean equals(Object o)
public int hashCode()
Copyright © 2020. All rights reserved.