Package org.roaringbitmap.longlong
Interface LongBitmapDataProvider
-
- All Superinterfaces:
ImmutableLongBitmapDataProvider
- All Known Implementing Classes:
Roaring64NavigableMap
public interface LongBitmapDataProvider extends ImmutableLongBitmapDataProvider
Representing a general bitmap interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.-
Methods inherited from interface org.roaringbitmap.longlong.ImmutableLongBitmapDataProvider
contains, forEach, getLongCardinality, getLongIterator, getLongSizeInBytes, getReverseLongIterator, getSizeInBytes, isEmpty, limit, rankLong, select, serialize, serializedSizeInBytes, toArray
-
-
-
-
Method Detail
-
addLong
void addLong(long x)
set the value to "true", whether it already appears or not.- Parameters:
x- long value
-
removeLong
void removeLong(long x)
If present remove the specified integers (effectively, sets its bit value to false)- Parameters:
x- long value representing the index in a bitmap
-
trim
void trim()
Recover allocated but unused memory.
-
-