Class TopologicalSorter<T extends ITopologicallySortable>

java.lang.Object
org.eclipse.dirigible.commons.api.topology.TopologicalSorter<T>
Type Parameters:
T - the generic type

public class TopologicalSorter<T extends ITopologicallySortable>
extends Object
The Class TopologicalSorter.
  • Constructor Details

    • TopologicalSorter

      public TopologicalSorter()
      Instantiates a new topological sorter.
  • Method Details

    • sort

      public List<T> sort​(List<T> list)
      Sort.
      Parameters:
      list - the list
      Returns:
      the list