- java.lang.Object
-
- org.jgrapht.graph.DefaultGraphIterables<V,E>
-
- Type Parameters:
V
- the graph vertex typeE
- the graph edge type
- All Implemented Interfaces:
GraphIterables<V,E>
public class DefaultGraphIterables<V,E> extends Object implements GraphIterables<V,E>
The default implementation of the graph iterables which simply delegates to the set implementations.- Author:
- Dimitrios Michail
-
-
Constructor Summary
Constructors Constructor Description DefaultGraphIterables()
Create new graph iterablesDefaultGraphIterables(Graph<V,E> graph)
Create new graph iterables
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Graph<V,E>
getGraph()
Get the underlying graph.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jgrapht.GraphIterables
allEdges, degreeOf, edgeCount, edges, edgesOf, incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf, vertexCount, vertices
-
-
-
-
Method Detail
-
getGraph
public Graph<V,E> getGraph()
Description copied from interface:GraphIterables
Get the underlying graph.- Specified by:
getGraph
in interfaceGraphIterables<V,E>
- Returns:
- the underlying graph
-
-