Interface OrderedLongSet.BuilderRandom

All Superinterfaces:
LongRangeConsumer, OrderedLongSet.BuilderSequential
All Known Implementing Classes:
AdaptiveOrderedLongSetBuilderRandom, MixedBuilderRandom, RspBitmap.BuilderRandom
Enclosing interface:
OrderedLongSet

public static interface OrderedLongSet.BuilderRandom extends OrderedLongSet.BuilderSequential
  • Method Details

    • addKey

      void addKey(long key)
    • addRange

      void addRange(long firstKey, long lastKey)
    • appendKey

      default void appendKey(long key)
      Specified by:
      appendKey in interface OrderedLongSet.BuilderSequential
    • appendRange

      default void appendRange(long firstKey, long lastKey)
      Specified by:
      appendRange in interface OrderedLongSet.BuilderSequential
    • add

      default void add(SingleRange ix)
    • add

      void add(SortedRanges ix, boolean acquire)
    • add

      void add(RspBitmap ix, boolean acquire)
    • accept

      default void accept(long firstKey, long lastKey)
      Description copied from interface: LongRangeConsumer
      Provides a range to this consumer. As consecutive calls to accept are made, delivered ranges are assumed to be non overlapping and increasing in their first value; in particular, the first of a range has to be strictly greater than the last of the previous range.
      Specified by:
      accept in interface LongRangeConsumer
      Specified by:
      accept in interface OrderedLongSet.BuilderSequential
      Parameters:
      firstKey - the range first value.
      lastKey - the range last value.