FileDocCategorySizeDatePackage
PrinterSafe.javaAPI DocExample2830Thu Feb 04 16:10:44 GMT 1999None

PrinterSafe

public class PrinterSafe extends Object implements ScaleTester

Fields Summary
private float[]
lookupValues
private int
nRows
private int
nCols
private int
nThreads
LoopPrinterSafe
lp
Constructors Summary
Methods Summary
public float[][]doCalc()

		PrinterSafeHandler loop = new PrinterSafeHandler(nCols, nThreads);
		loop.loopProcess();
		lp.send2stream(System.out);
		return lookupValues;
	
public voidinit(int nRows, int nCols, int nThreads)

		this.nRows = nRows;
		this.nCols = nCols;
		this.nThreads = nThreads;
		lookupValues = new float[nRows][];
		for (int j = 0; j < nRows; j++) {
			lookupValues[j] = new float[nCols];
		}
		lp = new LoopPrinterSafe(nCols * nRows, 0);