public class RoaringBitmap32 extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_VALUE |
Constructor and Description |
---|
RoaringBitmap32() |
Modifier and Type | Method and Description |
---|---|
void |
add(int x) |
static RoaringBitmap32 |
and(RoaringBitmap32 x1,
RoaringBitmap32 x2) |
static RoaringBitmap32 |
bitmapOf(int... dat) |
boolean |
checkedAdd(int x) |
void |
clear() |
boolean |
contains(int x) |
void |
deserialize(byte[] rbmBytes) |
void |
deserialize(DataInput in) |
boolean |
equals(Object o) |
void |
flip(long rangeStart,
long rangeEnd) |
long |
getCardinality() |
boolean |
isEmpty() |
Iterator<Integer> |
iterator() |
static RoaringBitmap32 |
or(Iterator<RoaringBitmap32> iterator) |
void |
or(RoaringBitmap32 other) |
static RoaringBitmap32 |
or(RoaringBitmap32 x1,
RoaringBitmap32 x2) |
byte[] |
serialize() |
void |
serialize(DataOutput out) |
String |
toString() |
public static final int MAX_VALUE
public void add(int x)
public void or(RoaringBitmap32 other)
public boolean checkedAdd(int x)
public boolean contains(int x)
public boolean isEmpty()
public long getCardinality()
public void serialize(DataOutput out) throws IOException
IOException
public void deserialize(DataInput in) throws IOException
IOException
public void clear()
public byte[] serialize()
public void deserialize(byte[] rbmBytes) throws IOException
IOException
public void flip(long rangeStart, long rangeEnd)
@VisibleForTesting public static RoaringBitmap32 bitmapOf(int... dat)
public static RoaringBitmap32 and(RoaringBitmap32 x1, RoaringBitmap32 x2)
public static RoaringBitmap32 or(RoaringBitmap32 x1, RoaringBitmap32 x2)
public static RoaringBitmap32 or(Iterator<RoaringBitmap32> iterator)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.