Class TreeLayout.DumpConfiguration

  • Enclosing class:
    TreeLayout<TreeNode>

    public static class TreeLayout.DumpConfiguration
    extends java.lang.Object
    • Field Summary

      Fields 
      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.
      java.lang.String indent
      The text used to indent the output per level.
    • Constructor Summary

      Constructors 
      Constructor Description
      DumpConfiguration()  
      DumpConfiguration​(java.lang.String indent, boolean includeNodeSize, boolean includePointer)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • indent

        public final java.lang.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​(java.lang.String indent,
                                 boolean includeNodeSize,
                                 boolean includePointer)
        Parameters:
        indent - [default: " "]
        includeNodeSize - [default: false]
        includePointer - [default: false]
      • DumpConfiguration

        public DumpConfiguration()