public class WrappedImmutableBitSetBitmap extends Object implements ImmutableBitmap
| Constructor and Description |
|---|
WrappedImmutableBitSetBitmap() |
WrappedImmutableBitSetBitmap(BitSet bitmap) |
WrappedImmutableBitSetBitmap(ByteBuffer byteBuffer) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ImmutableBitmap other) |
ImmutableBitmap |
difference(ImmutableBitmap otherBitmap)
Compute the bitwise-andNot of this bitmap with another bitmap.
|
boolean |
get(int value)
Returns true if the bit at position value is set
|
ImmutableBitmap |
intersection(ImmutableBitmap otherBitmap)
Compute the bitwise-and of this bitmap with another bitmap.
|
boolean |
isEmpty() |
org.roaringbitmap.IntIterator |
iterator() |
int |
size() |
byte[] |
toBytes() |
ImmutableBitmap |
union(ImmutableBitmap otherBitmap)
Compute the bitwise-or of this bitmap with another bitmap.
|
protected final BitSet bitmap
public WrappedImmutableBitSetBitmap(BitSet bitmap)
public WrappedImmutableBitSetBitmap()
public WrappedImmutableBitSetBitmap(ByteBuffer byteBuffer)
public org.roaringbitmap.IntIterator iterator()
iterator in interface ImmutableBitmappublic boolean get(int value)
ImmutableBitmapget in interface ImmutableBitmapvalue - the position to checkpublic int size()
size in interface ImmutableBitmappublic byte[] toBytes()
toBytes in interface ImmutableBitmappublic int compareTo(ImmutableBitmap other)
compareTo in interface ImmutableBitmappublic boolean isEmpty()
isEmpty in interface ImmutableBitmappublic ImmutableBitmap union(ImmutableBitmap otherBitmap)
ImmutableBitmapunion in interface ImmutableBitmapotherBitmap - other bitmappublic ImmutableBitmap intersection(ImmutableBitmap otherBitmap)
ImmutableBitmapintersection in interface ImmutableBitmapotherBitmap - other bitmappublic ImmutableBitmap difference(ImmutableBitmap otherBitmap)
ImmutableBitmapdifference in interface ImmutableBitmapotherBitmap - other bitmapCopyright © 2011–2017. All rights reserved.