Package edu.umd.cs.findbugs.graph
Class StronglyConnectedComponents.SCCSetIterator
- java.lang.Object
-
- edu.umd.cs.findbugs.graph.StronglyConnectedComponents.SCCSetIterator
-
- All Implemented Interfaces:
java.util.Iterator<java.util.Set<VertexType>>
- Enclosing class:
- StronglyConnectedComponents<GraphType extends Graph<EdgeType,VertexType>,EdgeType extends GraphEdge<EdgeType,VertexType>,VertexType extends GraphVertex<VertexType>>
private class StronglyConnectedComponents.SCCSetIterator extends java.lang.Object implements java.util.Iterator<java.util.Set<VertexType>>
Iterator for iterating over sets of vertices in strongly connected components.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Iterator<SearchTree<VertexType>>
m_searchTreeIterator
-
Constructor Summary
Constructors Constructor Description SCCSetIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
java.util.Set<VertexType>
next()
void
remove()
-
-
-
Field Detail
-
m_searchTreeIterator
private final java.util.Iterator<SearchTree<VertexType extends GraphVertex<VertexType>>> m_searchTreeIterator
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<java.util.Set<VertexType extends GraphVertex<VertexType>>>
-
next
public java.util.Set<VertexType> next()
- Specified by:
next
in interfacejava.util.Iterator<java.util.Set<VertexType extends GraphVertex<VertexType>>>
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<java.util.Set<VertexType extends GraphVertex<VertexType>>>
-
-