Interface NodeManager<T>

    • Method Detail

      • stream

        Stream<T> stream()
        Returns:
        a Stream of the nodes in this graph
      • getNumberOfNodes

        int getNumberOfNodes()
        Returns:
        the number of nodes in this graph
      • addNode

        void addNode​(T n)
        add a node to this graph
      • containsNode

        boolean containsNode​(@Nullable T n)
        Returns:
        true iff the graph contains the specified node