Package de.gsi.dataset.samples
Class DataSetToByteArraySample
- java.lang.Object
-
- de.gsi.dataset.samples.DataSetToByteArraySample
-
public class DataSetToByteArraySample extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DataSetToByteArraySample()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearGarbage()protected booleanfloatIdentity(double a, double b)static java.lang.StringhumanReadableByteCount(long bytes, boolean si)static voidmain(java.lang.String[] args)voidtestDataSetSerialiserIdentity(boolean withMetaData, boolean asFloat32)voidtestDataSetUtilsIdentity(boolean binary, boolean asFloat32)voidtestIdentityCore(boolean binary, boolean asFloat32, de.gsi.dataset.spi.DoubleErrorDataSet originalDS, de.gsi.dataset.spi.DoubleErrorDataSet testDS)voidtestIdentityLabelsAndStyles(boolean binary, boolean asFloat32, de.gsi.dataset.spi.DoubleErrorDataSet originalDS, de.gsi.dataset.spi.DoubleErrorDataSet testDS)voidtestIdentityMetaData(boolean binary, boolean asFloat32, de.gsi.dataset.spi.DoubleErrorDataSet originalDS, de.gsi.dataset.spi.DoubleErrorDataSet testDS)voidtestPerformance(int iterations, boolean binary, boolean asFloat32)voidtestSerializerPerformance(int iterations, boolean withMetaInfos, boolean asFloat32)
-
-
-
Method Detail
-
floatIdentity
protected boolean floatIdentity(double a, double b)
-
testDataSetUtilsIdentity
public void testDataSetUtilsIdentity(boolean binary, boolean asFloat32)
-
testDataSetSerialiserIdentity
public void testDataSetSerialiserIdentity(boolean withMetaData, boolean asFloat32)
-
testIdentityCore
public void testIdentityCore(boolean binary, boolean asFloat32, de.gsi.dataset.spi.DoubleErrorDataSet originalDS, de.gsi.dataset.spi.DoubleErrorDataSet testDS)
-
testIdentityLabelsAndStyles
public void testIdentityLabelsAndStyles(boolean binary, boolean asFloat32, de.gsi.dataset.spi.DoubleErrorDataSet originalDS, de.gsi.dataset.spi.DoubleErrorDataSet testDS)
-
testIdentityMetaData
public void testIdentityMetaData(boolean binary, boolean asFloat32, de.gsi.dataset.spi.DoubleErrorDataSet originalDS, de.gsi.dataset.spi.DoubleErrorDataSet testDS)
-
humanReadableByteCount
public static java.lang.String humanReadableByteCount(long bytes, boolean si)
-
testPerformance
public void testPerformance(int iterations, boolean binary, boolean asFloat32)
-
testSerializerPerformance
public void testSerializerPerformance(int iterations, boolean withMetaInfos, boolean asFloat32)
-
clearGarbage
public void clearGarbage()
-
main
public static void main(java.lang.String[] args)
-
-