public class DataStructureTopologicalSorter extends Object
| Constructor and Description |
|---|
DataStructureTopologicalSorter() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
followDependencies(Map<String,DataStructureModel> input,
List<String> output,
List<String> external,
List<String> processing,
DataStructureModel dataStructureModel)
Follow dependencies.
|
static void |
sort(Map<String,DataStructureModel> input,
List<String> output,
List<String> external)
Sorts the data models.
|
public static void sort(Map<String,DataStructureModel> input, List<String> output, List<String> external) throws DataStructureModelException
input - the models that will be sortedoutput - the output of the sortingexternal - the external dependenciesDataStructureModelException - the data structure model exceptionprotected static void followDependencies(Map<String,DataStructureModel> input, List<String> output, List<String> external, List<String> processing, DataStructureModel dataStructureModel) throws DataStructureModelException
input - the inputoutput - the outputexternal - the externalprocessing - the processingdataStructureModel - the data structure modelDataStructureModelException - the data structure model exceptionCopyright © 2010–2018 Eclipse Foundation. All rights reserved.