Code example for PrintStream

Methods: printf

0
	} 
 
	public static void debug(String fmt, Object... objects) {
		if (doDebug == false)
			return; 
		debugStream.printf(fmt, objects);
	} 
 
	public static void printf(String fmt, Object...objects ) {
		debug(fmt,objects);
	} 
 
	public static void println(String s) {
		if (doDebug == false)
			return; 
		debugStream.println(s);
	} 
 
	public static void print(String s) {
		if (doDebug == false)
			return;