Class AbstractGraphIterator.DirectedSpecifics<VV,​EE>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<? extends EE> edgesOf​(VV vertex)
      Returns the edges outgoing from the specified vertex in case of directed graph, and the edge touching the specified vertex in case of undirected graph.
      • Methods inherited from class java.lang.Object

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

      • DirectedSpecifics

        public DirectedSpecifics​(DirectedGraph<VV,​EE> g)
        Creates a new DirectedSpecifics object.
        Parameters:
        g - the graph for which this specifics object to be created.
    • Method Detail

      • edgesOf

        public java.util.Set<? extends EE> edgesOf​(VV vertex)
        Description copied from class: AbstractGraphIterator.Specifics
        Returns the edges outgoing from the specified vertex in case of directed graph, and the edge touching the specified vertex in case of undirected graph.
        Specified by:
        edgesOf in class AbstractGraphIterator.Specifics<VV,​EE>
        Parameters:
        vertex - the vertex whose outgoing edges are to be returned.
        Returns:
        the edges outgoing from the specified vertex in case of directed graph, and the edge touching the specified vertex in case of undirected graph.
        See Also:
        AbstractGraphIterator.Specifics.edgesOf(Object)