Methods
Modifier and Type |
Method and Description |
static <T> List<Node<T>> |
breadthFirst(List<Node<T>> nodes) |
static <T> List<Node<T>> |
breadthFirst(Node<T> node) |
static <T> List<T> |
breadthFirstElements(Node<T> node) |
static <T> List<Node<T>> |
getLeaves(List<Node<T>> nodes) |
static <T> List<Node<T>> |
getLeaves(Node<T> root) |
static <T> String |
html(Node<T> node) |
static <T> String |
html(Node<T> node,
com.google.common.base.Function<Node<T>,String> converter) |
static <T> String |
html(Node<T> node,
int indent,
com.google.common.base.Function<Node<T>,String> converter) |
static <T> String |
html(String title,
List<Node<T>> nodes) |
static <T> String |
html(String title,
List<Node<T>> nodes,
com.google.common.base.Function<Node<T>,String> converter) |
static <T> String |
html(String title,
Node<T> node) |
static <T> String |
html(String title,
Node<T> node,
com.google.common.base.Function<Node<T>,String> converter) |
static <T> List<Node<T>> |
postOrder(Node<T> node) |
static <T> List<Node<T>> |
preOrder(Node<T> node) |