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 |
|---|
BasicEntry(long key,
boolean value) |
BasicEntry(Long key,
Boolean value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
boolean |
getBooleanValue() |
Long |
getKey()
Deprecated.
Please use the corresponding type-specific method
instead.
|
long |
getLongKey() |
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 Long getKey()
public long getLongKey()
getLongKey in interface Long2BooleanMap.EntryMap.Entry.getKey()@Deprecated public Boolean getValue()
public boolean getBooleanValue()
getBooleanValue in interface Long2BooleanMap.EntryMap.Entry.getValue()public boolean setValue(boolean value)
setValue in interface Long2BooleanMap.EntryMap.Entry.setValue(Object)@Deprecated public Boolean setValue(Boolean value)
public boolean equals(Object o)
public int hashCode()