Skip navigation links
com.tangosol.util
Class MultiBinaryLongMap.LeftoverLongMapHolder
java.lang.Object
com.tangosol.util.MultiBinaryLongMap.MaskedLongMapHolder
com.tangosol.util.MultiBinaryLongMap.LeftoverLongMapHolder
- Enclosing class:
- MultiBinaryLongMap
-
public class MultiBinaryLongMap.LeftoverLongMapHolder
- extends MultiBinaryLongMap.MaskedLongMapHolder
LeftoverLongMapHolder is the MaskedLongMapHolder implementation that is backed by the "real" key tree itself. The MaskedBinaryLongMap instances created by this holder are stored in the upper 32-bits of the underlying key-tree (where the lower 32-bits encode the "slot" info). Additionally, the returned instances contain additional safety checks to ensure that users of the returned BinaryLongMap may not cause keys to be inadvertently (and illegally) added to the MultiBinaryLongMap.
MultiBinaryLongMap.LeftoverLongMapHolder
public MultiBinaryLongMap.LeftoverLongMapHolder()
- Default constructor.
instantiateMaskedBinaryLongMap
protected MultiBinaryLongMap.MaskedBinaryLongMap instantiateMaskedBinaryLongMap(int cShift,
int cBits)
- Factory method for instantiating MaskedBinaryLongMap instances associated with this MaskedLongMapHolder.
-
- Overrides:
instantiateMaskedBinaryLongMap
in class MultiBinaryLongMap.MaskedLongMapHolder
-
- Parameters:
cShift
- the shift position of the masked BLM
cBits
- the bit-width of values represented by the BLM
- Returns:
- a MaskedBinaryLongMap with the specified shift and mask associated with this LongMapHolder (and backed by the underlying BLM)
Skip navigation links
Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.