org.deegree.commons.utils
Class SortUtils
java.lang.Object
org.deegree.commons.utils.SortUtils
public class SortUtils
- extends Object
Determines a topological order for collections of PostRelation
.
- Version:
- $Revision: 29756 $, $Date: 2011-02-21 16:35:28 +0100 (Mon, 21 Feb 2011) $
- Author:
- Markus Schneider, last edited by: $Author: mschneider $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SortUtils
public SortUtils()
sortTopologically
public static <T> List<T> sortTopologically(Collection<T> vertices,
PostRelation<T> postRelation)
- Type Parameters:
T
- - Parameters:
vertices
- postRelation
-
- Returns:
Copyright © 2011. All Rights Reserved.