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()
Deprecated.
Please use the corresponding type-specific method
instead.
|
Boolean |
getValue()
Deprecated.
Please use the corresponding type-specific method
instead.
|
int |
hashCode() |
boolean |
setValue(boolean value) |
Boolean |
setValue(Boolean value)
Deprecated.
Please use the corresponding type-specific method
instead.
|
String |
toString() |
comparingByKey, comparingByKey, comparingByValue, comparingByValue@Deprecated public Integer getKey()
public int getIntKey()
getIntKey in interface Int2BooleanMap.EntryMap.Entry.getKey()@Deprecated public Boolean getValue()
public boolean getBooleanValue()
getBooleanValue in interface Int2BooleanMap.EntryMap.Entry.getValue()public boolean setValue(boolean value)
setValue in interface Int2BooleanMap.EntryMap.Entry.setValue(Object)@Deprecated public Boolean setValue(Boolean value)
public boolean equals(Object o)
public int hashCode()