public String format(final Tree<?, ?> tree) {
		return format(tree, Objects::toString);
	}
Formats the given {@code tree} to its string representation.

@param tree the input tree to format
@return the string representation of the given {@code tree}
@throws NullPointerException if the {@code tree} is {@code null}
jenetics.ext/src/main/java/io/jenetics/ext/util/TreeFormatter.java