Liferay 6.0.5

com.liferay.portal.kernel.util
Class TreeNode<T extends Comparable<T>>

java.lang.Object
  extended by com.liferay.portal.kernel.util.TreeNode<T>

public class TreeNode<T extends Comparable<T>>
extends Object


Constructor Summary
TreeNode(T value)
           
TreeNode(T value, TreeNode<T> parentNode)
           
TreeNode(T value, TreeNode<T> parentNode, List<TreeNode<T>> childNodes)
           
 
Method Summary
 TreeNode<T> addChildNode(T value)
           
 List<TreeNode<T>> getChildNodes()
           
 List<T> getChildValues()
           
 TreeNode<T> getParentNode()
           
 T getValue()
           
 boolean isRootNode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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()

Liferay 6.0.5