edu.stanford.math.plex4.io
public class DoubleArrayReaderWriter extends java.lang.Object implements ObjectReader<double[][]>, ObjectWriter<double[][]>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExtension() |
static DoubleArrayReaderWriter |
getInstance() |
double[][] |
importFromFile(java.lang.String path) |
void |
writeToFile(double[][] object,
java.lang.String path) |
public static DoubleArrayReaderWriter getInstance()
public double[][] importFromFile(java.lang.String path) throws java.io.IOException
importFromFile
in interface ObjectReader<double[][]>
java.io.IOException
public java.lang.String getExtension()
getExtension
in interface ObjectWriter<double[][]>
public void writeToFile(double[][] object, java.lang.String path) throws java.io.IOException
writeToFile
in interface ObjectWriter<double[][]>
java.io.IOException