Code example for PrintStream

Methods: checkError

0
 
	@Override 
	public final boolean checkError() { 
		PrintStream out = checkAccess();
 
		return (out == this) ? super.checkError() : out.checkError();
	} 
 
	@Override 
	public final void close() { 
		PrintStream out = checkAccess();
 
		if (out == this) {
			super.close(); 
		} else { 
			out.close();
		} 
	} 
 
	@Override 
	public final void flush() {