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) |
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.IOException
public String print(T rootNode)
rootNode
- Root tree node.protected abstract List<T> getChildren(T treeNode)
treeNode
- Tree node.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017