Interface TreePrinter
-
- All Known Implementing Classes:
BoxingTreePrinter,ListingTreePrinter,MappingTreePrinter,TraditionalTreePrinter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface TreePrinterMain interface for tree printers. A tree printer visualize aTreeNodeand its entire subtree structure. Any implementation can have its own way to do this. Some implementations (e. g.ListingTreePrinter) can print large data in a memory efficient way viaprint(TreeNode)orprint(TreeNode, Appendable).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidprint(TreeNode rootNode)voidprint(TreeNode rootNode, java.lang.Appendable out)default java.lang.Stringstringify(TreeNode rootNode)
-