public interface ImmutableBitmap
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.
|
org.roaringbitmap.IntIterator iterator()
int size()
byte[] toBytes()
int compareTo(ImmutableBitmap other)
boolean isEmpty()
boolean get(int value)
value
- the position to checkImmutableBitmap union(ImmutableBitmap otherBitmap)
otherBitmap
- other bitmapImmutableBitmap intersection(ImmutableBitmap otherBitmap)
otherBitmap
- other bitmapImmutableBitmap difference(ImmutableBitmap otherBitmap)
otherBitmap
- other bitmapCopyright © 2011–2017. All rights reserved.