public class Writeable2DArrayBinary extends Object implements WriteableBinary
Modifier and Type | Field and Description |
---|---|
double[][] |
value
The underlying array
|
Constructor and Description |
---|
Writeable2DArrayBinary(double[][] matrix)
Construct with the given array.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
binaryHeader()
Header for binary output.
|
void |
writeBinary(DataOutput out)
Write the content of this as binary to out.
|
public double[][] value
public Writeable2DArrayBinary(double[][] matrix)
matrix
- The list.public void writeBinary(DataOutput out) throws IOException
WriteableBinary
writeBinary
in interface WriteableBinary
out
- sink to write toIOException
- an error writing to outpublic byte[] binaryHeader()
WriteableBinary
binaryHeader
in interface WriteableBinary