Class GraphTopologicalSort
- java.lang.Object
-
- org.hibernate.envers.internal.tools.graph.GraphTopologicalSort
-
public final class GraphTopologicalSort extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <V,R>
List<V>sort(GraphDefiner<V,R> definer)
Sorts a graph topologically.
-
-
-
Method Detail
-
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.
-
-