public static class TreePrinter.Factory extends Object implements MemoryMeterListener.Factory
TreePrinter instances.| Constructor and Description |
|---|
Factory(int maxDepth)
Creates a new
Factory instance which create TreePrinter that will print the
visited trees up to the specified maxDepth. |
| Modifier and Type | Method and Description |
|---|---|
MemoryMeterListener |
newInstance() |
public Factory(int maxDepth)
Factory instance which create TreePrinter that will print the
visited trees up to the specified maxDepth.maxDepth - the maximum depth of the trees to be printedpublic MemoryMeterListener newInstance()
newInstance in interface MemoryMeterListener.FactoryCopyright © 2023. All rights reserved.