Class MultiBinaryLongMap.MaskedBinaryLongMap.MaskedEntry

    • Constructor Detail

      • MaskedEntry

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

      • getValue

        public long getValue()
        Obtain the value associated with this entry.
        Specified by:
        getValue in interface BinaryLongMap.Entry
        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
        lValue - the value to associate with this entry
        an BinaryLongMap.Entry with the new value, which may or may not be the same BinaryLongMap.Entry as this