Package com.aoindustries.util.tree
Interface Tree<E>
-
- All Known Implementing Classes:
TreeCopy
public interface Tree<E>An abstract structure for trees. Each tree may have multiple roots.- Author:
- AO Industries, Inc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Node<E>>getRootNodes()Gets the list of root nodes.
-
-
-
Method Detail
-
getRootNodes
List<Node<E>> getRootNodes() throws IOException, SQLException
Gets the list of root nodes. Each root node should have anullparent. If there are no roots, should return an empty list, not null.- Throws:
IOExceptionSQLException
-
-