Class DependencyGraphEdge

  • All Implemented Interfaces:

    
    public final class DependencyGraphEdge
    
                        

    A data class representing an edge in the dependency graph.

    An edge corresponds to a directed depends-on relationship between two packages. The packages are identified by the numeric indices into the list of nodes.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Integer from
      private final Integer to
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Integer getFrom() The index of the source node of this edge.
      final Integer getTo() The index of the destination node of this edge.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getFrom

         final Integer getFrom()

        The index of the source node of this edge.

      • getTo

         final Integer getTo()

        The index of the destination node of this edge.