public interface PointableRoaringArray extends Cloneable
| Modifier and Type | Method and Description |
|---|---|
PointableRoaringArray |
clone()
Create an independent copy of the underlying array
|
int |
getCardinality(int i)
Returns the cardinality of the container at the given index.
|
MappeableContainer |
getContainer(short x) |
MappeableContainer |
getContainerAtIndex(int i) |
org.roaringbitmap.buffer.MappeableContainerPointer |
getContainerPointer() |
int |
getIndex(short x) |
short |
getKeyAtIndex(int i) |
void |
serialize(DataOutput out)
Serialize.
|
int |
serializedSizeInBytes() |
int |
size() |
PointableRoaringArray clone()
MappeableContainer getContainer(short x)
x - 16-bit keyMappeableContainer getContainerAtIndex(int i)
i - indexorg.roaringbitmap.buffer.MappeableContainerPointer getContainerPointer()
int getIndex(short x)
x - 16-bit keyshort getKeyAtIndex(int i)
i - the indexint size()
void serialize(DataOutput out) throws IOException
out - the DataOutput streamIOException - Signals that an I/O exception has occurred.int serializedSizeInBytes()
int getCardinality(int i)
i - indexCopyright © 2014. All Rights Reserved.