public class RoaringBitmapFactory extends Object implements BitmapFactory
| Constructor and Description |
|---|
RoaringBitmapFactory() |
RoaringBitmapFactory(boolean compressRunOnSerialization) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableBitmap |
complement(ImmutableBitmap b) |
ImmutableBitmap |
complement(ImmutableBitmap b,
int length) |
ImmutableBitmap |
intersection(Iterable<ImmutableBitmap> b)
Compute the intersection (bitwise-AND) of a set of bitmaps.
|
ImmutableBitmap |
makeEmptyImmutableBitmap() |
MutableBitmap |
makeEmptyMutableBitmap()
Create a new empty bitmap
|
ImmutableBitmap |
makeImmutableBitmap(MutableBitmap mutableBitmap) |
ImmutableBitmap |
mapImmutableBitmap(ByteBuffer b)
Given a ByteBuffer pointing at a serialized version of a bitmap,
instantiate an immutable mapped bitmap.
|
ImmutableBitmap |
union(Iterable<ImmutableBitmap> b)
Compute the union (bitwise-OR) of a set of bitmaps.
|
public RoaringBitmapFactory()
public RoaringBitmapFactory(boolean compressRunOnSerialization)
public MutableBitmap makeEmptyMutableBitmap()
BitmapFactorymakeEmptyMutableBitmap in interface BitmapFactorypublic ImmutableBitmap makeEmptyImmutableBitmap()
makeEmptyImmutableBitmap in interface BitmapFactorypublic ImmutableBitmap makeImmutableBitmap(MutableBitmap mutableBitmap)
makeImmutableBitmap in interface BitmapFactorypublic ImmutableBitmap mapImmutableBitmap(ByteBuffer b)
BitmapFactorymapImmutableBitmap in interface BitmapFactoryb - the input byte bufferpublic ImmutableBitmap union(Iterable<ImmutableBitmap> b)
BitmapFactoryunion in interface BitmapFactoryb - input ImmutableGenericBitmap objectspublic ImmutableBitmap intersection(Iterable<ImmutableBitmap> b)
BitmapFactoryintersection in interface BitmapFactoryb - input ImmutableGenericBitmap objectspublic ImmutableBitmap complement(ImmutableBitmap b)
complement in interface BitmapFactorypublic ImmutableBitmap complement(ImmutableBitmap b, int length)
complement in interface BitmapFactoryCopyright © 2011–2017. All rights reserved.