public static class TreeLayout.DumpConfiguration extends Object
Modifier and Type | Field | Description |
---|---|---|
boolean |
includeNodeSize |
When true the dump also includes the size of each node, otherwise
not.
|
boolean |
includeObjectToString |
When true, the text as returned by
Object.toString() , is
included in the dump, in addition to the text returned by the
possibly overridden toString method of the node. |
String |
indent |
The text used to indent the output per level.
|
Constructor | Description |
---|---|
DumpConfiguration() |
|
DumpConfiguration(String indent,
boolean includeNodeSize,
boolean includePointer) |
public final String indent
public final boolean includeNodeSize
public final boolean includeObjectToString
Object.toString()
, is
included in the dump, in addition to the text returned by the
possibly overridden toString method of the node. When the hashCode
method is overridden the output will also include the
"identityHashCode".public DumpConfiguration(String indent, boolean includeNodeSize, boolean includePointer)
indent
- [default: " "]includeNodeSize
- [default: false]includePointer
- [default: false]public DumpConfiguration()
Copyright © 2019. All rights reserved.