|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectprea.util.Printer
public class Printer
This is a class containing printing functions in human-readable format from various kinds of data.
Constructor Summary | |
---|---|
Printer()
|
Method Summary | |
---|---|
static void |
printArray(double[] A)
Print each element in a double array. |
static void |
printArray(double[][] A)
Print each element in a 2-D double matrix. |
static void |
printArray(double[][][] A)
Print each element in a 3-D double matrix. |
static void |
printArray(int[] A)
Print each element in an integer array |
static java.lang.String |
printTime(long msType)
Convert time in milliseconds to human-readable format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Printer()
Method Detail |
---|
public static void printArray(double[] A)
A
- The array to printpublic static void printArray(int[] A)
A
- The array to printpublic static void printArray(double[][] A)
A
- The array to printpublic static void printArray(double[][][] A)
A
- The array to printpublic static java.lang.String printTime(long msType)
msType
- The time in milliseconds
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |