org.jboss.gravel.data.tree
Interface Tree<T>


public interface Tree<T>

A tree structure.


Method Summary
 List<Tree<T>> getChildren()
          Get all the subtree elements for this point on the tree.
 T getNode()
          Get the datum corresponding to this point on the tree.
 

Method Detail

getChildren

List<Tree<T>> getChildren()
Get all the subtree elements for this point on the tree.

Returns:
the list of subtree elements

getNode

T getNode()
Get the datum corresponding to this point on the tree.

Returns:
the data