com.atlassian.greenhopper.service.hierarchy
Class TreeNode<T>
java.lang.Object
com.atlassian.greenhopper.service.hierarchy.TreeNode<T>
public class TreeNode<T>
- extends java.lang.Object
A thin wrapper around a payload data object that is to be organised into a tree structure.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
TreeNode
public TreeNode(T data)
getData
public T getData()
getChildren
public java.util.List<TreeNode<T>> getChildren()
getChildren
public java.util.List<TreeNode<T>> getChildren(TreeNodeComparator<T> comp)
setChildren
public void setChildren(java.util.List<TreeNode<T>> children)
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2007-2011 Atlassian. All Rights Reserved.