public abstract class GridTreePrinter<T> extends Object
| Constructor and Description |
|---|
GridTreePrinter() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
formatTreeNode(T treeNode) |
protected abstract List<T> |
getChildren(T treeNode)
Returns list of tree node children.
|
String |
print(T rootNode) |
void |
print(T rootNode,
Appendable a) |
public void print(T rootNode, Appendable a) throws IOException
rootNode - Root tree node.a - Output.IOExceptionpublic String print(T rootNode)
rootNode - Root tree node.protected abstract List<T> getChildren(T treeNode)
treeNode - The tree node.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023