Class TreeLayout.DumpConfiguration

    • Field Detail

      • indent

        public final String indent
        The text used to indent the output per level.
      • includeNodeSize

        public final boolean includeNodeSize
        When true the dump also includes the size of each node, otherwise not.
      • includeObjectToString

        public final 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. When the hashCode method is overridden the output will also include the "identityHashCode".
    • Constructor Detail

      • DumpConfiguration

        public DumpConfiguration​(String indent,
                                 boolean includeNodeSize,
                                 boolean includePointer)
        Parameters:
        indent - [default: " "]
        includeNodeSize - [default: false]
        includePointer - [default: false]
      • DumpConfiguration

        public DumpConfiguration()