- 所有超级接口:
ImmutableBitmapDataProvider
Representing a general bitmap interface.
-
嵌套类概要
从接口继承的嵌套类/接口 org.bitlap.roaringbitmap.ImmutableBitmapDataProvider
ImmutableBitmapDataProvider.RoaringOfInt -
方法概要
修饰符和类型方法说明voidadd(int x) set the value to "true", whether it already appears or not.voidadd(long min, long sup) Add a range of values to the bitmapvoidremove(int x) If present remove the specified integers (effectively, sets its bit value to false)voidtrim()Recover allocated but unused memory.从接口继承的方法 org.bitlap.roaringbitmap.ImmutableBitmapDataProvider
contains, first, forEach, getBatchIterator, getCardinality, getIntIterator, getLongCardinality, getLongSizeInBytes, getReverseIntIterator, getSizeInBytes, isEmpty, last, limit, nextAbsentValue, nextValue, previousAbsentValue, previousValue, rangeCardinality, rank, rankLong, reverseStream, select, serialize, serialize, serializedSizeInBytes, stream, toArray
-
方法详细资料
-
add
void add(int x) set the value to "true", whether it already appears or not.- 参数:
x- integer value
-
add
void add(long min, long sup) Add a range of values to the bitmap- 参数:
min- the inclusive minimum valuesup- the exclusive maximum value
-
remove
void remove(int x) If present remove the specified integers (effectively, sets its bit value to false)- 参数:
x- integer value representing the index in a bitmap
-
trim
void trim()Recover allocated but unused memory.
-