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.EntryRepresents an Entry stored in a BinaryLongMap.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BinarygetKey()Obtain the key.longgetValue()Obtain the value associated with this entry.BinaryLongMap.EntrysetValue(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.Entrywith the new value, which may or may not be the sameBinaryLongMap.Entryas this
-
-