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