org.glassfish.gmbal.generic
Class Graph<E>
java.lang.Object
org.glassfish.gmbal.generic.Graph<E>
public class Graph<E>
- extends Object
|
Nested Class Summary |
static interface |
Graph.Finder<E>
A Finder finds the immediate successors of an element of the graph. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Graph
public Graph(Collection<E> roots,
Graph.Finder<E> finder)
Graph
public Graph(E root,
Graph.Finder<E> finder)
getRoots
public Set<E> getRoots()
getPreorderList
public List<E> getPreorderList()
getPostorderList
public List<E> getPostorderList()
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.