protected class MultiBinaryLongMap.MaskedBinaryLongMap.MaskedEntry extends Object implements BinaryLongMap.Entry
Modifier and Type | Field and Description |
---|---|
protected BinaryLongMap.Entry |
f_entry
The underlying entry.
|
Modifier | Constructor and Description |
---|---|
protected |
MaskedEntry(BinaryLongMap.Entry entry)
Construct a MaskedEntry backed by the specified underlying entry.
|
Modifier and Type | Method and Description |
---|---|
Binary |
getKey()
Obtain the key.
|
long |
getValue()
Obtain the value associated with this entry.
|
BinaryLongMap.Entry |
setValue(long lValue)
Set the value associated with this entry.
|
protected final BinaryLongMap.Entry f_entry
protected MaskedEntry(BinaryLongMap.Entry entry)
entry
- the underlying entrypublic Binary getKey()
getKey
in interface BinaryLongMap.Entry
Binary
public long getValue()
getValue
in interface BinaryLongMap.Entry
public BinaryLongMap.Entry setValue(long lValue)
Note: in some implementations, this operation may cause this Entry to be replaced with another Entry instance in the underlying representation.
setValue
in interface BinaryLongMap.Entry
lValue
- the value to associate with this entryBinaryLongMap.Entry
with the new value, which may or may not be the same BinaryLongMap.Entry
as this