ch.elca.el4j.core.io.support
Interface ModuleSorter

All Known Implementing Classes:
DefaultModuleSorter

public interface ModuleSorter

This interface is used to transform the order of modules given as dependencies into a list of modules that respects the partial order.

Author:
Andreas Bur (ABU)
File-location:
ModuleSorter
Last check-in date:
2009-08-04 15:22:05 +0200 (Di, 04. Aug 2009) by swismer for revision 3881

Method Summary
 Module[] sortModules(Module[] modules)
          Sorts a list of unordered modules using their dependency information into a list that respects the partial order.
 

Method Detail

sortModules

Module[] sortModules(Module[] modules)
Sorts a list of unordered modules using their dependency information into a list that respects the partial order.

Parameters:
modules - The modules to sort.
Returns:
Returns a list of modules that preserves the partial order defined by dependency information.


Copyright © 2005-2011 ELCA. All Rights Reserved.