This abstract class implements shared functionality for data writers. More...
Public Member Functions | |
Writing one-dimensional arrays @{ | |
| void | write (String label, String[] a) throws IOException |
| Writes a one-dimensional array of strings. | |
| void | write (String label, int[] a) throws IOException |
| Writes a one-dimensional array of 32-bit integers (big endian). | |
| void | write (String label, float[] a) throws IOException |
| Writes a one-dimensional array of 32-bit floats (big endian). | |
| void | write (String label, double[] a) throws IOException |
| Writes a one-dimensional array of 64-bit doubles (big endian). | |
| Public Member Functions inherited from umontreal.ssj.util.io.DataWriter | |
| void | write (String label, String s) throws IOException |
| Writes an atomic string field. | |
| void | write (String label, int a) throws IOException |
| Writes an atomic 32-bit integer (big endian). | |
| void | write (String label, float a) throws IOException |
| Writes an atomic 32-bit float (big endian). | |
| void | write (String label, double a) throws IOException |
| Writes an atomic 64-bit double (big endian). | |
| void | write (String label, String[] a, int n) throws IOException |
| Writes the first n elements of a one-dimensional array of strings. | |
| void | write (String label, int[] a, int n) throws IOException |
| Writes the first n elements of a one-dimensional array of 32-bit integers (big endian). | |
| void | write (String label, float[] a, int n) throws IOException |
| Writes the first n elements of a one-dimensional array of 32-bit floats (big endian). | |
| void | write (String label, double[] a, int n) throws IOException |
| Writes the first n elements of a one-dimensional array of 64-bit doubles (big endian). | |
| void | write (String label, String[][] a) throws IOException |
| Writes a two-dimensional array of strings. | |
| void | write (String label, int[][] a) throws IOException |
| Writes a two-dimensional array of 32-bit integers (big endian). | |
| void | write (String label, float[][] a) throws IOException |
| Writes a two-dimensional array of 32-bit floats (big endian). | |
| void | write (String label, double[][] a) throws IOException |
| Writes a two-dimensional array of 64-bit doubles (big endian). | |
| void | close () throws IOException |
| Flushes any pending data and closes the output stream. | |
This abstract class implements shared functionality for data writers.
Definition at line 34 of file AbstractDataWriter.java.
| void umontreal.ssj.util.io.AbstractDataWriter.write | ( | String | label, |
| double[] | a ) throws IOException |
Writes a one-dimensional array of 64-bit doubles (big endian).
If label is null, writes an anonymous field.
Implements umontreal.ssj.util.io.DataWriter.
Definition at line 68 of file AbstractDataWriter.java.
| void umontreal.ssj.util.io.AbstractDataWriter.write | ( | String | label, |
| float[] | a ) throws IOException |
Writes a one-dimensional array of 32-bit floats (big endian).
If label is null, writes an anonymous field.
Implements umontreal.ssj.util.io.DataWriter.
Definition at line 60 of file AbstractDataWriter.java.
| void umontreal.ssj.util.io.AbstractDataWriter.write | ( | String | label, |
| int[] | a ) throws IOException |
Writes a one-dimensional array of 32-bit integers (big endian).
If label is null, writes an anonymous field.
Implements umontreal.ssj.util.io.DataWriter.
Definition at line 52 of file AbstractDataWriter.java.
| void umontreal.ssj.util.io.AbstractDataWriter.write | ( | String | label, |
| String[] | a ) throws IOException |
Writes a one-dimensional array of strings.
If label is null, writes an anonymous field.
Implements umontreal.ssj.util.io.DataWriter.
Definition at line 44 of file AbstractDataWriter.java.