protected class MultiBinaryLongMap.AbstractDelegateBinaryLongMap.DelegateEntryVisitor.WrapperEntry extends Object implements BinaryLongMap.Entry
Modifier and Type | Field and Description |
---|---|
protected BinaryLongMap.Entry |
m_entry
The underlying Entry.
|
Modifier | Constructor and Description |
---|---|
protected |
WrapperEntry() |
Modifier and Type | Method and Description |
---|---|
Binary |
getKey()
Obtain the key.
|
long |
getValue()
Obtain the value associated with this entry.
|
void |
reset(BinaryLongMap.Entry entry)
Reset the WrapperEntry to represent a different underlying Entry.
|
BinaryLongMap.Entry |
setValue(long lValue)
Set the value associated with this entry.
|
protected BinaryLongMap.Entry m_entry
public 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 thispublic void reset(BinaryLongMap.Entry entry)
entry
- the new entry to wrap