Package com.tangosol.util
Interface BinaryLongMap.Entry
-
- All Known Implementing Classes:
MultiBinaryLongMap.AbstractDelegateBinaryLongMap.DelegateEntryVisitor.WrapperEntry
,MultiBinaryLongMap.MaskedBinaryLongMap.MaskedEntry
,MultiBinaryLongMap.SafeEntry
- Enclosing interface:
- BinaryLongMap
public static interface BinaryLongMap.Entry
Represents an Entry stored in a BinaryLongMap.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getValue
long getValue()
Obtain the value associated with this entry.- Returns:
- the associated value as a long
-
setValue
BinaryLongMap.Entry setValue(long lValue)
Set the value associated with this entry.Note: in some implementations, this operation may cause this Entry to be replaced with another Entry instance in the underlying representation.
- Parameters:
lValue
- the value to associate with this entry- Returns:
- an
BinaryLongMap.Entry
with the new value, which may or may not be the sameBinaryLongMap.Entry
as this
-
-