public class MultiBinaryLongMap.LeftoverLongMapHolder.LeftoverMaskedBinaryLongMap extends MultiBinaryLongMap.MaskedBinaryLongMap
MultiBinaryLongMap.MaskedBinaryLongMap.MaskedEntry, MultiBinaryLongMap.MaskedBinaryLongMap.MaskedEntryVisitorBinaryLongMap.Entry, BinaryLongMap.EntryVisitor, BinaryLongMap.SimpleMapImpl| Constructor and Description |
|---|
LeftoverMaskedBinaryLongMap(MultiBinaryLongMap.MaskedLongMapHolder holder,
BinaryLongMap blm,
int cShift,
int cBits)
Construct a LeftoverMaskedBinaryLongMap.
|
| Modifier and Type | Method and Description |
|---|---|
protected long |
encode(long lEncoded,
long lValue)
Encode the specified n-bit value into the possibly already encoded
value, preserving any unrelated bits.
|
protected MultiBinaryLongMap.MaskedBinaryLongMap.MaskedEntryVisitor |
instantiateMaskedEntryVisitor(BinaryLongMap.EntryVisitor visitor,
boolean fExisting)
Instantiate a MaskedEntryVisitor to use to
MultiBinaryLongMap.MaskedBinaryLongMap.visit(com.tangosol.util.Binary, com.tangosol.util.BinaryLongMap.EntryVisitor) entries
in this MaskedBinaryLongMap. |
public LeftoverMaskedBinaryLongMap(MultiBinaryLongMap.MaskedLongMapHolder holder, BinaryLongMap blm, int cShift, int cBits)
holder - the MaskedLongMapHolderblm - the underlying BinaryLongMapcShift - the number of positions to left-shift the values
stored in this MaskedBinaryLongMapcBits - the number of bits in the values stored in this
MaskedBinaryLongMapprotected long encode(long lEncoded,
long lValue)
encode in class MultiBinaryLongMap.MaskedBinaryLongMaplEncoded - the 64-bit value to encode intolValue - the value to encodeprotected MultiBinaryLongMap.MaskedBinaryLongMap.MaskedEntryVisitor instantiateMaskedEntryVisitor(BinaryLongMap.EntryVisitor visitor, boolean fExisting)
MultiBinaryLongMap.MaskedBinaryLongMap.visit(com.tangosol.util.Binary, com.tangosol.util.BinaryLongMap.EntryVisitor) entries
in this MaskedBinaryLongMap.instantiateMaskedEntryVisitor in class MultiBinaryLongMap.MaskedBinaryLongMapvisitor - the underlying visitor to wrapfExisting - true iff the underlying visitor is to visit only
entries that logically exist in the MaskedBinaryLongMap