public class InMemoryCompressedFloats extends Object implements IndexedFloats
Constructor and Description |
---|
InMemoryCompressedFloats(int sizePer,
ByteOrder order) |
Modifier and Type | Method and Description |
---|---|
int |
add(float value) |
int |
addAll(Iterable<Float> values) |
void |
close() |
void |
fill(int index,
float[] toFill) |
float |
get(int index) |
int |
size() |
CompressedFloatsIndexedSupplier |
toCompressedFloatsIndexedSupplier() |
public InMemoryCompressedFloats(int sizePer, ByteOrder order)
public int size()
size
in interface IndexedFloats
public int add(float value)
public float get(int index)
get
in interface IndexedFloats
public void fill(int index, float[] toFill)
fill
in interface IndexedFloats
public CompressedFloatsIndexedSupplier toCompressedFloatsIndexedSupplier()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2015. All rights reserved.