public class WrappedImmutableRoaringBitmap extends Object implements ImmutableBitmap
| Modifier | Constructor and Description |
|---|---|
protected |
WrappedImmutableRoaringBitmap(ByteBuffer byteBuffer) |
|
WrappedImmutableRoaringBitmap(org.roaringbitmap.buffer.ImmutableRoaringBitmap immutableRoaringBitmap)
Wrap an ImmutableRoaringBitmap
|
| Modifier and Type | Method and Description |
|---|---|
org.roaringbitmap.BatchIterator |
batchIterator() |
boolean |
get(int value)
Returns true if the bit at position value is set
|
org.roaringbitmap.buffer.ImmutableRoaringBitmap |
getBitmap() |
ImmutableBitmap |
intersection(ImmutableBitmap otherBitmap)
Compute the bitwise-and of this bitmap with another bitmap.
|
boolean |
isEmpty() |
org.roaringbitmap.IntIterator |
iterator() |
org.roaringbitmap.PeekableIntIterator |
peekableIterator() |
int |
size() |
byte[] |
toBytes() |
String |
toString() |
protected WrappedImmutableRoaringBitmap(ByteBuffer byteBuffer)
public WrappedImmutableRoaringBitmap(org.roaringbitmap.buffer.ImmutableRoaringBitmap immutableRoaringBitmap)
immutableRoaringBitmap - bitmap to be wrappedpublic org.roaringbitmap.buffer.ImmutableRoaringBitmap getBitmap()
public byte[] toBytes()
toBytes in interface ImmutableBitmappublic org.roaringbitmap.IntIterator iterator()
iterator in interface ImmutableBitmappublic org.roaringbitmap.PeekableIntIterator peekableIterator()
peekableIterator in interface ImmutableBitmappublic org.roaringbitmap.BatchIterator batchIterator()
batchIterator in interface ImmutableBitmappublic int size()
size in interface ImmutableBitmappublic boolean isEmpty()
isEmpty in interface ImmutableBitmappublic boolean get(int value)
ImmutableBitmapget in interface ImmutableBitmapvalue - the position to checkpublic ImmutableBitmap intersection(ImmutableBitmap otherBitmap)
ImmutableBitmapintersection in interface ImmutableBitmapotherBitmap - other bitmapCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.