|
ContactCenters V. 0.9.9. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectumontreal.iro.lecuyer.util.LaTeXArrayFormatter
public class LaTeXArrayFormatter
Provides utility methods to format every
element of arrays using methods
of LaTeXFormatter.
All methods in this class format each
element of given arrays, separated by
a comma and a space.
For example, the method formatIntegerArray(int, byte[])
may produce 2, 5, 1, 6.
| Constructor Summary | |
|---|---|
LaTeXArrayFormatter(LaTeXFormatter lf)
|
|
| Method Summary | |
|---|---|
void |
close()
|
void |
flush()
|
LaTeXArrayFormatter |
formatFixedArray(int precision,
double[] array)
Formats each number of the array array using a fixed precision number of decimal digits. |
LaTeXArrayFormatter |
formatFixedArray(int precision,
float[] array)
Formats each number of the array array using a fixed precision number of decimal digits. |
LaTeXArrayFormatter |
formatIntegerArray(int precision,
byte[] array)
Formats each integer of the array array with precision digits. |
LaTeXArrayFormatter |
formatIntegerArray(int precision,
int[] array)
Formats each integer of the array array with precision digits. |
LaTeXArrayFormatter |
formatIntegerArray(int precision,
long[] array)
Formats each integer of the array array with precision digits. |
LaTeXArrayFormatter |
formatIntegerArray(int precision,
short[] array)
Formats each integer of the array array with precision digits. |
LaTeXArrayFormatter |
formatNumberArray(int precision,
byte[] array)
Formats each number of the array array with precision significant digits. |
LaTeXArrayFormatter |
formatNumberArray(int precision,
double[] array)
Formats each number of the array array with precision significant digits. |
LaTeXArrayFormatter |
formatNumberArray(int precision,
float[] array)
Formats each number of the array array with precision significant digits. |
LaTeXArrayFormatter |
formatNumberArray(int precision,
int[] array)
Formats each number of the array array with precision significant digits. |
LaTeXArrayFormatter |
formatNumberArray(int digitsSmall,
int digitsLarge,
byte[] array)
Formats each number of the array array using int, double). |
LaTeXArrayFormatter |
formatNumberArray(int digitsSmall,
int digitsLarge,
double[] array)
Formats each number of the array array using int, double). |
LaTeXArrayFormatter |
formatNumberArray(int digitsSmall,
int digitsLarge,
float[] array)
Formats each number of the array array using int, double). |
LaTeXArrayFormatter |
formatNumberArray(int digitsSmall,
int digitsLarge,
int[] array)
Formats each number of the array array using int, double). |
LaTeXArrayFormatter |
formatNumberArray(int digitsSmall,
int digitsLarge,
long[] array)
Formats each number of the array array using int, double). |
LaTeXArrayFormatter |
formatNumberArray(int digitsSmall,
int digitsLarge,
short[] array)
Formats each number of the array array using int, double). |
LaTeXArrayFormatter |
formatNumberArray(int precision,
long[] array)
Formats each number of the array array with precision significant digits. |
LaTeXArrayFormatter |
formatNumberArray(int precision,
short[] array)
Formats each number of the array array with precision significant digits. |
LaTeXArrayFormatter |
formatScientificArray(int precision,
double[] array)
Formats each number of the array array in scientific notation with precision decimal digits. |
LaTeXArrayFormatter |
formatScientificArray(int precision,
float[] array)
Formats each number of the array array in scientific notation with precision decimal digits. |
LaTeXFormatter |
getLaTeXFormat()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LaTeXArrayFormatter(LaTeXFormatter lf)
| Method Detail |
|---|
public LaTeXFormatter getLaTeXFormat()
public void close()
close in interface Closeablepublic void flush()
flush in interface Flushablepublic String toString()
toString in class Object
public LaTeXArrayFormatter formatIntegerArray(int precision,
byte[] array)
precision - the minimal number of digits of precision.array - the array to be formatted.
public LaTeXArrayFormatter formatIntegerArray(int precision,
short[] array)
precision - the minimal number of digits of precision.array - the array to be formatted.
public LaTeXArrayFormatter formatIntegerArray(int precision,
int[] array)
precision - the minimal number of digits of precision.array - the array to be formatted.
public LaTeXArrayFormatter formatIntegerArray(int precision,
long[] array)
precision - the minimal number of digits of precision.array - the array to be formatted.
public LaTeXArrayFormatter formatFixedArray(int precision,
float[] array)
precision - the minimal number of digits of precision.array - the array to be formatted.
public LaTeXArrayFormatter formatFixedArray(int precision,
double[] array)
precision - the minimal number of digits of precision.array - the array to be formatted.
public LaTeXArrayFormatter formatScientificArray(int precision,
float[] array)
precision - the minimal number of digits of precision.array - the array to be formatted.
public LaTeXArrayFormatter formatScientificArray(int precision,
double[] array)
precision - the minimal number of digits of precision.array - the array to be formatted.
public LaTeXArrayFormatter formatNumberArray(int precision,
byte[] array)
precision - the minimal number of digits of precision.array - the array to be formatted.
public LaTeXArrayFormatter formatNumberArray(int precision,
short[] array)
precision - the minimal number of digits of precision.array - the array to be formatted.
public LaTeXArrayFormatter formatNumberArray(int precision,
int[] array)
precision - the minimal number of digits of precision.array - the array to be formatted.
public LaTeXArrayFormatter formatNumberArray(int precision,
long[] array)
precision - the minimal number of digits of precision.array - the array to be formatted.
public LaTeXArrayFormatter formatNumberArray(int precision,
float[] array)
precision - the minimal number of digits of precision.array - the array to be formatted.
public LaTeXArrayFormatter formatNumberArray(int precision,
double[] array)
precision - the minimal number of digits of precision.array - the array to be formatted.
public LaTeXArrayFormatter formatNumberArray(int digitsSmall,
int digitsLarge,
byte[] array)
int, double).
digitsSmall - the number of significant digits for numbers smaller than 1.digitsLarge - the number of significant digits for numbers greater than 1.array - the array to be formatted.
public LaTeXArrayFormatter formatNumberArray(int digitsSmall,
int digitsLarge,
short[] array)
int, double).
digitsSmall - the number of significant digits for numbers smaller than 1.digitsLarge - the number of significant digits for numbers greater than 1.array - the array to be formatted.
public LaTeXArrayFormatter formatNumberArray(int digitsSmall,
int digitsLarge,
int[] array)
int, double).
digitsSmall - the number of significant digits for numbers smaller than 1.digitsLarge - the number of significant digits for numbers greater than 1.array - the array to be formatted.
public LaTeXArrayFormatter formatNumberArray(int digitsSmall,
int digitsLarge,
long[] array)
int, double).
digitsSmall - the number of significant digits for numbers smaller than 1.digitsLarge - the number of significant digits for numbers greater than 1.array - the array to be formatted.
public LaTeXArrayFormatter formatNumberArray(int digitsSmall,
int digitsLarge,
float[] array)
int, double).
digitsSmall - the number of significant digits for numbers smaller than 1.digitsLarge - the number of significant digits for numbers greater than 1.array - the array to be formatted.
public LaTeXArrayFormatter formatNumberArray(int digitsSmall,
int digitsLarge,
double[] array)
int, double).
digitsSmall - the number of significant digits for numbers smaller than 1.digitsLarge - the number of significant digits for numbers greater than 1.array - the array to be formatted.
|
ContactCenters V. 0.9.9. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||