Class MultiBinaryLongMap.MaskedBinaryLongMap.MaskedEntry

    • Constructor Detail

      • MaskedEntry

        protected MaskedEntry​(BinaryLongMap.Entry entry)
        Construct a MaskedEntry backed by the specified underlying entry.
        Parameters:
        entry - the underlying entry
    • Method Detail

      • getValue

        public long getValue()
        Obtain the value associated with this entry.
        Specified by:
        getValue in interface BinaryLongMap.Entry
        Returns:
        the associated value as a long
      • setValue

        public 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.

        Specified by:
        setValue in interface BinaryLongMap.Entry
        Parameters:
        lValue - the value to associate with this entry
        Returns:
        an BinaryLongMap.Entry with the new value, which may or may not be the same BinaryLongMap.Entry as this