All Packages Class Hierarchy This Package Previous Next Index
![]() |
java.lang.Object | +----java.io.OutputStream | +----java.io.FilterOutputStream | +----java.io.PrintStream | +----Acme.APrintStream
This class reimplements two methods from PrintStream, resulting in vastly improved performance.
The two reimplemented methods are:
write(int b)
. All we do
here is make a single write(byte[] b, int off, int len)
call instead, avoiding all that routine-call overhead for each character.
The API is identical to java.io.PrintStream.
Fetch the software.
Fetch the entire Acme package.
public APrintStream(OutputStream out)
public APrintStream(OutputStream out, boolean autoflush)
public void print(String s)
public void print(char c[])
All Packages Class Hierarchy This Package Previous Next Index
ACME Java ACME Labs