public class CompressedFloatsSupplierSerializer extends Object
Constructor and Description |
---|
CompressedFloatsSupplierSerializer(int sizePer,
GenericIndexedWriter<ResourceHolder<FloatBuffer>> flattener,
CompressedObjectStrategy.CompressionStrategy compression) |
Modifier and Type | Method and Description |
---|---|
void |
add(float value) |
void |
closeAndConsolidate(com.google.common.io.OutputSupplier<? extends OutputStream> consolidatedOut) |
static CompressedFloatsSupplierSerializer |
create(IOPeon ioPeon,
String filenameBase,
ByteOrder order,
CompressedObjectStrategy.CompressionStrategy compression) |
static CompressedFloatsSupplierSerializer |
create(IOPeon ioPeon,
String filenameBase,
int sizePer,
ByteOrder order,
CompressedObjectStrategy.CompressionStrategy compression) |
void |
open() |
int |
size() |
public CompressedFloatsSupplierSerializer(int sizePer, GenericIndexedWriter<ResourceHolder<FloatBuffer>> flattener, CompressedObjectStrategy.CompressionStrategy compression)
public static CompressedFloatsSupplierSerializer create(IOPeon ioPeon, String filenameBase, ByteOrder order, CompressedObjectStrategy.CompressionStrategy compression) throws IOException
IOException
public static CompressedFloatsSupplierSerializer create(IOPeon ioPeon, String filenameBase, int sizePer, ByteOrder order, CompressedObjectStrategy.CompressionStrategy compression) throws IOException
IOException
public void open() throws IOException
IOException
public int size()
public void add(float value) throws IOException
IOException
public void closeAndConsolidate(com.google.common.io.OutputSupplier<? extends OutputStream> consolidatedOut) throws IOException
IOException
Copyright © 2011–2015. All rights reserved.