public class BitmapCompressedIndexedInts extends Object implements IndexedInts, Comparable<com.metamx.collections.bitmap.ImmutableBitmap>
| Constructor and Description |
|---|
BitmapCompressedIndexedInts(com.metamx.collections.bitmap.ImmutableBitmap immutableBitmap) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
compareTo(com.metamx.collections.bitmap.ImmutableBitmap otherBitmap) |
void |
fill(int index,
int[] toFill) |
int |
get(int index) |
com.metamx.collections.bitmap.ImmutableBitmap |
getImmutableBitmap() |
Iterator<Integer> |
iterator() |
int |
size() |
public BitmapCompressedIndexedInts(com.metamx.collections.bitmap.ImmutableBitmap immutableBitmap)
public int compareTo(@Nullable com.metamx.collections.bitmap.ImmutableBitmap otherBitmap)
compareTo in interface Comparable<com.metamx.collections.bitmap.ImmutableBitmap>public int size()
size in interface IndexedIntspublic int get(int index)
get in interface IndexedIntspublic com.metamx.collections.bitmap.ImmutableBitmap getImmutableBitmap()
public void fill(int index,
int[] toFill)
fill in interface IndexedIntspublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2011–2015. All rights reserved.