Package org.jgrapht.traverse
Class AbstractGraphIterator.Specifics<VV,EE>
- java.lang.Object
-
- org.jgrapht.traverse.AbstractGraphIterator.Specifics<VV,EE>
-
- Direct Known Subclasses:
AbstractGraphIterator.DirectedSpecifics
,AbstractGraphIterator.UndirectedSpecifics
- Enclosing class:
- AbstractGraphIterator<V,E>
abstract static class AbstractGraphIterator.Specifics<VV,EE> extends java.lang.Object
Provides unified interface for operations that are different in directed graphs and in undirected graphs.
-
-
Constructor Summary
Constructors Constructor Description Specifics()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract 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.
-
-
-
Method Detail
-
edgesOf
public abstract 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.- 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.
-
-