org.hibernate.envers.tools.graph
Class GraphTopologicalSort
java.lang.Object
org.hibernate.envers.tools.graph.GraphTopologicalSort
public class GraphTopologicalSort
- extends Object
- Author:
- Adam Warski (adam at warski dot org)
Method Summary |
static
|
sort(GraphDefiner<V,R> definer)
Sorts a graph topologically. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphTopologicalSort
public GraphTopologicalSort()
sort
public static <V,R> List<V> sort(GraphDefiner<V,R> definer)
- Sorts a graph topologically.
- Parameters:
definer
- Defines a graph (values and representations) to sort.
- Returns:
- Values of the graph, sorted topologically.
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.