org.omnaest.utils.structure.hierarchy.tree
Interface Tree<M,TN extends TreeNode>

Type Parameters:
M - model of the tree (not necessarily the same as one of the TreeNodes models)
TN -
All Known Subinterfaces:
ObjectTree
All Known Implementing Classes:
ObjectToTreeNodeAdapter

public interface Tree<M,TN extends TreeNode>

A Tree acts as a container for a TreeNode object graph.

Author:
Omnaest
See Also:
TreeNavigator, TreeHelper

Method Summary
 M getModel()
          Returns the model of the Tree
 TN getTreeRootNode()
          Returns the single root TreeNode
 

Method Detail

getModel

M getModel()
Returns the model of the Tree

Returns:

getTreeRootNode

TN getTreeRootNode()
Returns the single root TreeNode

Returns:


Copyright © 2013. All Rights Reserved.