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 IndexedInts
public int get(int index)
get
in interface IndexedInts
public com.metamx.collections.bitmap.ImmutableBitmap getImmutableBitmap()
public void fill(int index, int[] toFill)
fill
in interface IndexedInts
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2011–2015. All rights reserved.