public static class Describer.DefaultPrinter extends Object implements Describer.Printer
| Constructor and Description |
|---|
DefaultPrinter(PrintWriter out) |
| Modifier and Type | Method and Description |
|---|---|
Describer.Printer |
print(Object x)
Prints an object.
|
Describer.Printer |
println(Object x)
Prints an Object and then terminates the line.
|
public DefaultPrinter(PrintWriter out)
public Describer.Printer print(Object x)
Describer.Printerprint in interface Describer.Printerx - The Object to be printedpublic Describer.Printer println(Object x)
Describer.Printerprintln in interface Describer.Printerx - The Object to be printed.Copyright © 2024. All rights reserved.