Class GraphUtil


  • public class GraphUtil
    extends java.lang.Object
    Utility methods for graphs.
    • Constructor Summary

      Constructors 
      Constructor Description
      GraphUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> long countEdges​(Graph<T> g)
      count the number of edges in g
      • Methods inherited from class java.lang.Object

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

      • GraphUtil

        public GraphUtil()
    • Method Detail

      • countEdges

        public static <T> long countEdges​(Graph<T> g)
        count the number of edges in g