- 所有超级接口:
ImmutableLongBitmapDataProvider
- 所有已知实现类:
Roaring64Bitmap,Roaring64NavigableMap
Representing a general bitmap interface.
-
嵌套类概要
从接口继承的嵌套类/接口 org.bitlap.roaringbitmap.longlong.ImmutableLongBitmapDataProvider
ImmutableLongBitmapDataProvider.RoaringOfLong -
方法概要
修饰符和类型方法说明voidaddLong(long x) set the value to "true", whether it already appears or not.voidremoveLong(long x) If present remove the specified integers (effectively, sets its bit value to false)voidtrim()Recover allocated but unused memory.从接口继承的方法 org.bitlap.roaringbitmap.longlong.ImmutableLongBitmapDataProvider
contains, first, forEach, getLongCardinality, getLongIterator, getLongSizeInBytes, getReverseLongIterator, getSizeInBytes, isEmpty, last, limit, rankLong, reverseStream, select, serialize, serializedSizeInBytes, stream, toArray
-
方法详细资料
-
addLong
void addLong(long x) set the value to "true", whether it already appears or not.- 参数:
x- long value
-
removeLong
void removeLong(long x) If present remove the specified integers (effectively, sets its bit value to false)- 参数:
x- long value representing the index in a bitmap
-
trim
void trim()Recover allocated but unused memory.
-