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