Class Graph.Utils

  • Enclosing interface:
    Graph

    public static class Graph.Utils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int getDegree​(Graph graph, Node node)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getDegree

        public static int getDegree​(Graph graph,
                                    Node node)
        Parameters:
        graph -
        node -
        Returns:
        the number of edges attached to this node.