Class TopologicalNodeIdComparator

java.lang.Object
de.aristaflow.adept2.model.processmodel.tools.TopologicalNodeIdComparator
All Implemented Interfaces:
Serializable, Comparator<Integer>

public class TopologicalNodeIdComparator extends Object implements Comparator<Integer>, Serializable
A comparator for node IDs of type Integer determining the order of the node IDs according to their topological ID.
See Also:
  • Constructor Details

    • TopologicalNodeIdComparator

      public TopologicalNodeIdComparator(Template template)
      Creates a comparator for node IDs ordering them by their topological ID.
      Parameters:
      template - The template providing the topological ID of the nodes.
  • Method Details