com.liferay.portal.kernel.util
Class TreeNode<T extends Comparable<T>>
java.lang.Object
com.liferay.portal.kernel.util.TreeNode<T>
public class TreeNode<T extends Comparable<T>>
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeNode
public TreeNode(T value)
TreeNode
public TreeNode(T value,
TreeNode<T> parentNode)
TreeNode
public TreeNode(T value,
TreeNode<T> parentNode,
List<TreeNode<T>> childNodes)
addChildNode
public TreeNode<T> addChildNode(T value)
getChildNodes
public List<TreeNode<T>> getChildNodes()
getChildValues
public List<T> getChildValues()
getParentNode
public TreeNode<T> getParentNode()
getValue
public T getValue()
isRootNode
public boolean isRootNode()