org.deegree.commons.utils
Class SortUtils

java.lang.Object
  extended by 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 $

Constructor Summary
SortUtils()
           
 
Method Summary
static
<T> List<T>
sortTopologically(Collection<T> vertices, PostRelation<T> postRelation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortUtils

public SortUtils()
Method Detail

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.