Class TreePrinter.Factory

java.lang.Object
org.github.jamm.listeners.TreePrinter.Factory
All Implemented Interfaces:
MemoryMeterListener.Factory
Enclosing class:
TreePrinter

public static class TreePrinter.Factory extends Object implements MemoryMeterListener.Factory
Factory for TreePrinter instances.
  • Constructor Details

    • Factory

      public Factory(int maxDepth)
      Creates a new Factory instance which create TreePrinter that will print the visited trees up to the specified maxDepth.
      Parameters:
      maxDepth - the maximum depth of the trees to be printed
  • Method Details