接口 RoaringBitmapWriter<T extends BitmapDataProvider>

所有超级接口:
Supplier<T>
所有已知实现类:
ConstantMemoryContainerAppender, ContainerAppender

public interface RoaringBitmapWriter<T extends BitmapDataProvider> extends Supplier<T>
  • 方法详细资料

    • writer

    • bufferWriter

    • getUnderlying

      T getUnderlying()
      Gets the bitmap being written to.
      返回:
      the bitmap
    • add

      void add(int value)
      buffers a value to be added to the bitmap.
      参数:
      value - the value
    • add

      void add(long min, long max)
      Add a range to the bitmap
      参数:
      min - the inclusive min value
      max - the exclusive max value
    • addMany

      void addMany(int... values)
      Adds many values to the bitmap.
      参数:
      values - the values to add
    • flush

      void flush()
      Flushes all pending changes to the bitmap.
    • get

      default T get()
      flushes any pending changes to the bitmap and returns the bitmap
      指定者:
      get 在接口中 Supplier<T extends BitmapDataProvider>
      返回:
      the underlying bitmap
    • reset

      void reset()
      Resets the writer so it can be reused, must release the reference to the underlying bitmap