public class CompressedFloatsIndexedSupplier extends Object implements com.google.common.base.Supplier<IndexedFloats>
Modifier and Type | Field and Description |
---|---|
static byte |
LZF_VERSION |
static int |
MAX_FLOATS_IN_BUFFER |
static byte |
version |
Modifier and Type | Method and Description |
---|---|
CompressedFloatsIndexedSupplier |
convertByteOrder(ByteOrder order) |
static CompressedFloatsIndexedSupplier |
fromByteBuffer(ByteBuffer buffer,
ByteOrder order) |
static CompressedFloatsIndexedSupplier |
fromFloatBuffer(FloatBuffer buffer,
ByteOrder order,
CompressedObjectStrategy.CompressionStrategy compression) |
static CompressedFloatsIndexedSupplier |
fromFloatBuffer(FloatBuffer buffer,
int chunkFactor,
ByteOrder order,
CompressedObjectStrategy.CompressionStrategy compression) |
IndexedFloats |
get() |
long |
getSerializedSize() |
int |
size() |
void |
writeToChannel(WritableByteChannel channel) |
public static final byte LZF_VERSION
public static final byte version
public static final int MAX_FLOATS_IN_BUFFER
public int size()
public IndexedFloats get()
get
in interface com.google.common.base.Supplier<IndexedFloats>
public long getSerializedSize()
public void writeToChannel(WritableByteChannel channel) throws IOException
IOException
public CompressedFloatsIndexedSupplier convertByteOrder(ByteOrder order)
public static CompressedFloatsIndexedSupplier fromByteBuffer(ByteBuffer buffer, ByteOrder order)
public static CompressedFloatsIndexedSupplier fromFloatBuffer(FloatBuffer buffer, ByteOrder order, CompressedObjectStrategy.CompressionStrategy compression)
public static CompressedFloatsIndexedSupplier fromFloatBuffer(FloatBuffer buffer, int chunkFactor, ByteOrder order, CompressedObjectStrategy.CompressionStrategy compression)
Copyright © 2011–2015. All rights reserved.