public static class AbstractObject2BooleanMap.BasicEntry<K> extends java.lang.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,
java.lang.Boolean value) |
public AbstractObject2BooleanMap.BasicEntry(K key, java.lang.Boolean value)
public AbstractObject2BooleanMap.BasicEntry(K key, boolean value)
public java.lang.Boolean getValue()
getValue in interface java.util.Map.Entry<K,java.lang.Boolean>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 java.lang.Boolean setValue(java.lang.Boolean value)
setValue in interface java.util.Map.Entry<K,java.lang.Boolean>public boolean equals(java.lang.Object o)
equals in interface java.util.Map.Entry<K,java.lang.Boolean>equals in class java.lang.Objectpublic int hashCode()
hashCode in interface java.util.Map.Entry<K,java.lang.Boolean>hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object