- 所有超级接口:
Supplier<T>
-
嵌套类概要
嵌套类修饰符和类型接口说明static classstatic classstatic classstatic classstatic classRoaringBitmapWriter.Wizard<C extends WordStorage<C>,T extends BitmapDataProvider & AppendableStorage<C>> -
方法概要
修饰符和类型方法说明voidadd(int value) buffers a value to be added to the bitmap.voidadd(long min, long max) Add a range to the bitmapvoidaddMany(int... values) Adds many values to the bitmap.voidflush()Flushes all pending changes to the bitmap.default Tget()flushes any pending changes to the bitmap and returns the bitmapGets the bitmap being written to.voidreset()Resets the writer so it can be reused, must release the reference to the underlying bitmapwriter()
-
方法详细资料
-
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 valuemax- 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
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
-