public class DataSetToByteArraySample extends Object
| Constructor and Description |
|---|
DataSetToByteArraySample() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearGarbage() |
protected boolean |
floatIdentity(double a,
double b) |
static String |
humanReadableByteCount(long bytes,
boolean si) |
static void |
main(String[] args) |
void |
testDataSetSerialiserIdentity(boolean withMetaData,
boolean asFloat32) |
void |
testDataSetUtilsIdentity(boolean binary,
boolean asFloat32) |
void |
testIdentityCore(boolean binary,
boolean asFloat32,
de.gsi.dataset.spi.DoubleErrorDataSet originalDS,
de.gsi.dataset.spi.DoubleErrorDataSet testDS) |
void |
testIdentityLabelsAndStyles(boolean binary,
boolean asFloat32,
de.gsi.dataset.spi.DoubleErrorDataSet originalDS,
de.gsi.dataset.spi.DoubleErrorDataSet testDS) |
void |
testIdentityMetaData(boolean binary,
boolean asFloat32,
de.gsi.dataset.spi.DoubleErrorDataSet originalDS,
de.gsi.dataset.spi.DoubleErrorDataSet testDS) |
void |
testPerformance(int iterations,
boolean binary,
boolean asFloat32) |
void |
testSerializerPerformance(int iterations,
boolean withMetaInfos,
boolean asFloat32) |
protected boolean floatIdentity(double a,
double b)
public void testDataSetUtilsIdentity(boolean binary,
boolean asFloat32)
public void testDataSetSerialiserIdentity(boolean withMetaData,
boolean asFloat32)
public void testIdentityCore(boolean binary,
boolean asFloat32,
de.gsi.dataset.spi.DoubleErrorDataSet originalDS,
de.gsi.dataset.spi.DoubleErrorDataSet testDS)
public void testIdentityLabelsAndStyles(boolean binary,
boolean asFloat32,
de.gsi.dataset.spi.DoubleErrorDataSet originalDS,
de.gsi.dataset.spi.DoubleErrorDataSet testDS)
public void testIdentityMetaData(boolean binary,
boolean asFloat32,
de.gsi.dataset.spi.DoubleErrorDataSet originalDS,
de.gsi.dataset.spi.DoubleErrorDataSet testDS)
public static String humanReadableByteCount(long bytes, boolean si)
public void testPerformance(int iterations,
boolean binary,
boolean asFloat32)
public void testSerializerPerformance(int iterations,
boolean withMetaInfos,
boolean asFloat32)
public void clearGarbage()
public static void main(String[] args)
Copyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.