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 |
---|
AbstractObject2BooleanMap.BasicEntry(K key,
boolean value) |
AbstractObject2BooleanMap.BasicEntry(K key,
Boolean value) |
public AbstractObject2BooleanMap.BasicEntry(K key, Boolean value)
public AbstractObject2BooleanMap.BasicEntry(K key, boolean value)
public boolean getBooleanValue()
getBooleanValue
in interface Object2BooleanMap.Entry<K>
Map.Entry.getValue()
public boolean setValue(boolean value)
setValue
in interface Object2BooleanMap.Entry<K>
Map.Entry.setValue(Object)
public boolean equals(Object o)
public int hashCode()