public class WrappedConciseBitmap extends Object implements MutableBitmap
| Constructor and Description | 
|---|
WrappedConciseBitmap()
Create a new WrappedConciseBitmap wrapping an empty  ConciseSet 
 | 
WrappedConciseBitmap(ConciseSet conciseSet)
Create a bitmap wrapping the given bitmap 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
add(int entry)
Add the specified integer to the bitmap. 
 | 
void | 
clear()
Empties the content of this bitmap. 
 | 
boolean | 
get(int value)
Returns true if the bit at position value is set 
 | 
int | 
getSizeInBytes()
Return the size in bytes for the purpose of serialization to a ByteBuffer. 
 | 
ImmutableBitmap | 
intersection(ImmutableBitmap otherBitmap)
Compute the bitwise-and of this bitmap with another bitmap. 
 | 
boolean | 
isEmpty()  | 
org.roaringbitmap.IntIterator | 
iterator()  | 
void | 
or(MutableBitmap mutableBitmap)
Compute the bitwise-or of this bitmap with another bitmap. 
 | 
void | 
remove(int entry)
Remove the specified integer to the bitmap. 
 | 
int | 
size()  | 
byte[] | 
toBytes()  | 
String | 
toString()  | 
public WrappedConciseBitmap()
public WrappedConciseBitmap(ConciseSet conciseSet)
conciseSet - bitmap to be wrappedpublic byte[] toBytes()
toBytes in interface ImmutableBitmappublic void clear()
MutableBitmapclear in interface MutableBitmappublic void or(MutableBitmap mutableBitmap)
MutableBitmapor in interface MutableBitmapmutableBitmap - other bitmappublic int getSizeInBytes()
MutableBitmapgetSizeInBytes in interface MutableBitmappublic void add(int entry)
MutableBitmapadd in interface MutableBitmapentry - integer to be addedpublic int size()
size in interface ImmutableBitmappublic void remove(int entry)
MutableBitmapremove in interface MutableBitmapentry - integer to be removepublic org.roaringbitmap.IntIterator iterator()
iterator in interface ImmutableBitmappublic boolean isEmpty()
isEmpty in interface ImmutableBitmappublic ImmutableBitmap intersection(ImmutableBitmap otherBitmap)
ImmutableBitmapintersection in interface ImmutableBitmapotherBitmap - other bitmappublic boolean get(int value)
ImmutableBitmapget in interface ImmutableBitmapvalue - the position to checkCopyright © 2011–2018. All rights reserved.