public class GenericPrettyPrinter<T> extends Object
GenericPrettyPrinter(Predicate<T> isLeaf, Function<T,String> nodePrinter, Function<T,Stream<T>> leafRetriever)
String
prettyPrint(T root)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@ConstructorProperties({"isLeaf","nodePrinter","leafRetriever"}) public GenericPrettyPrinter(Predicate<T> isLeaf, Function<T,String> nodePrinter, Function<T,Stream<T>> leafRetriever)
public String prettyPrint(T root)