public class WrappedImmutableConciseBitmap extends Object implements ImmutableBitmap
Constructor and Description |
---|
WrappedImmutableConciseBitmap(ByteBuffer byteBuffer) |
WrappedImmutableConciseBitmap(ImmutableConciseSet immutableConciseSet)
Wrap an ImmutableConciseSet
|
Modifier and Type | Method and Description |
---|---|
boolean |
get(int value)
Returns true if the bit at position value is set
|
ImmutableConciseSet |
getBitmap() |
ImmutableBitmap |
intersection(ImmutableBitmap otherBitmap)
Compute the bitwise-and of this bitmap with another bitmap.
|
boolean |
isEmpty() |
org.roaringbitmap.IntIterator |
iterator() |
int |
size() |
byte[] |
toBytes() |
String |
toString() |
public WrappedImmutableConciseBitmap(ByteBuffer byteBuffer)
public WrappedImmutableConciseBitmap(ImmutableConciseSet immutableConciseSet)
immutableConciseSet
- bitmap to be wrappedpublic ImmutableConciseSet getBitmap()
public boolean get(int value)
ImmutableBitmap
get
in interface ImmutableBitmap
value
- the position to checkpublic byte[] toBytes()
toBytes
in interface ImmutableBitmap
public org.roaringbitmap.IntIterator iterator()
iterator
in interface ImmutableBitmap
public int size()
size
in interface ImmutableBitmap
public boolean isEmpty()
isEmpty
in interface ImmutableBitmap
public ImmutableBitmap intersection(ImmutableBitmap otherBitmap)
ImmutableBitmap
intersection
in interface ImmutableBitmap
otherBitmap
- other bitmapCopyright © 2011–2018. All rights reserved.