public static class AbstractLong2BooleanMap.BasicEntry extends Object implements Long2BooleanMap.Entry
This class does not implement setValue()
, as the modification
would not be reflected in the base map.
Constructor and Description |
---|
AbstractLong2BooleanMap.BasicEntry(long key,
boolean value) |
AbstractLong2BooleanMap.BasicEntry(Long key,
Boolean value) |
public AbstractLong2BooleanMap.BasicEntry(Long key, Boolean value)
public AbstractLong2BooleanMap.BasicEntry(long key, boolean value)
public long getLongKey()
getLongKey
in interface Long2BooleanMap.Entry
Map.Entry.getKey()
public boolean getBooleanValue()
getBooleanValue
in interface Long2BooleanMap.Entry
Map.Entry.getValue()
public boolean setValue(boolean value)
setValue
in interface Long2BooleanMap.Entry
Map.Entry.setValue(Object)
public boolean equals(Object o)
public int hashCode()