public interface Printable
Printable provides a convenient interface for classes willing
to implement the Object.toString() method using ToStringHelper.
Subclasses are supposed to redefine the
print(com.goldencode.util.PrintHelper) method.| Modifier and Type | Method and Description |
|---|---|
default java.lang.String |
asString()
Provides the
Object.toString() functionality. |
default void |
print(PrintHelper printer)
Print all class-specific fields.
|
default java.lang.String asString()
Object.toString() functionality.Object.toString() value for this object.default void print(PrintHelper printer)
printer - the string printer to print into