|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object umontreal.iro.lecuyer.util.io.AbstractDataWriter umontreal.iro.lecuyer.util.io.CachedDataWriter
public abstract class CachedDataWriter
This abstract class implements shared functionality for data writers that store
all fields in memory before outputing them with close
.
Constructor Summary | |
---|---|
CachedDataWriter()
Class constructor. |
Method Summary | |
---|---|
void |
write(String label,
double a)
Writes an atomic 64-bit double (big endian). |
void |
write(String label,
double[][] a)
Writes a two-dimensional array of 64-bit doubles (big endian). |
void |
write(String label,
double[] a,
int n)
Writes the first n elements of a one-dimensional array of 64-bit doubles (big endian). |
void |
write(String label,
float a)
Writes an atomic 32-bit float (big endian). |
void |
write(String label,
float[][] a)
Writes a two-dimensional array of 32-bit floats (big endian). |
void |
write(String label,
float[] a,
int n)
Writes the first n elements of a one-dimensional array of 32-bit floats (big endian). |
void |
write(String label,
int a)
Writes an atomic 32-bit integer (big endian). |
void |
write(String label,
int[][] a)
Writes a two-dimensional array of 32-bit integers (big endian). |
void |
write(String label,
int[] a,
int n)
Writes the first n elements of a one-dimensional array of 32-bit integers (big endian). |
void |
write(String label,
String s)
Writes an atomic string field. |
void |
write(String label,
String[][] a)
Writes a two-dimensional array of strings. |
void |
write(String label,
String[] a,
int n)
Writes the first n elements of a one-dimensional array of strings. |
Methods inherited from class umontreal.iro.lecuyer.util.io.AbstractDataWriter |
---|
write, write, write, write |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface umontreal.iro.lecuyer.util.io.DataWriter |
---|
close |
Constructor Detail |
---|
public CachedDataWriter()
Method Detail |
---|
public void write(String label, String s) throws IOException
IOException
public void write(String label, int a) throws IOException
IOException
public void write(String label, float a) throws IOException
IOException
public void write(String label, double a) throws IOException
IOException
public void write(String label, String[] a, int n) throws IOException
IOException
public void write(String label, int[] a, int n) throws IOException
IOException
public void write(String label, float[] a, int n) throws IOException
IOException
public void write(String label, double[] a, int n) throws IOException
IOException
public void write(String label, String[][] a) throws IOException
IOException
public void write(String label, int[][] a) throws IOException
IOException
public void write(String label, float[][] a) throws IOException
IOException
public void write(String label, double[][] a) throws IOException
IOException
|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |