Class Printer
java.lang.Object
solvers.queueingnet.treeAlgorithms.Printer
Wrapper class for printing to console.
- Author:
- Ben Homer, 2014.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
out
The static Printer instance to be used for printing to console.
-
-
Constructor Details
-
Printer
public Printer()
-
-
Method Details
-
create
Creates a static Printer instance depending on the VERBOSE flag.- Returns:
- The static Printer instance.
-
print
Prints the specified string.- Parameters:
s- The string to print.
-
println
Prints the specified string and newline.- Parameters:
s- The string to print.
-