Class DynamicGraph.Edge<T>

  • Enclosing class:
    DynamicGraph<T>

    static class DynamicGraph.Edge<T>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private T from  
      private T to  
      private int weight  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Edge​(int weight, T from, T to)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) T getFrom()  
      (package private) T getTo()  
      • Methods inherited from class java.lang.Object

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

      • from

        private final T from
      • to

        private final T to
      • weight

        private final int weight
    • Constructor Detail

      • Edge

        private Edge​(int weight,
                     T from,
                     T to)
    • Method Detail

      • getFrom

        T getFrom()
      • getTo

        T getTo()