Class AbstractGraphIterator.UndirectedSpecifics<VV,​EE>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Graph<VV,​EE> graph  
    • Constructor Summary

      Constructors 
      Constructor Description
      UndirectedSpecifics​(Graph<VV,​EE> g)
      Creates a new UndirectedSpecifics object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<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

      • UndirectedSpecifics

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

      • edgesOf

        public java.util.Set<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)