public class Tree<T> extends Object implements Iterable<TreeNode<T>>
Tree(T root)
void
appendChild(T parent, T child)
List<T>
getChildren(T parent)
T
getRoot()
insertChild(T parent, T child, int index)
Iterator<TreeNode<T>>
iterator()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Tree(T root)
public void appendChild(T parent, T child)
public void insertChild(T parent, T child, int index)
public List<T> getChildren(T parent)
public T getRoot()
public Iterator<TreeNode<T>> iterator()
iterator
Iterable<TreeNode<T>>
Copyright © 2005–2014 Alfresco Software. All rights reserved.