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