public interface PointableRoaringArray extends Cloneable
Modifier and Type | Method and Description |
---|---|
PointableRoaringArray |
clone()
Create an independent copy of the underlying array
|
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()
Copyright © 2014. All Rights Reserved.