/guava/guava/src/com/google/common/graph/EndpointPairIterator.java
} this.visitedNodes = Sets.newHashSetWithExpectedSize( graph.nodes( ).size( ) + 1) ;super( graph) ;
super ( graph ) ; this.visitedNodes = Sets.newHashSetWithExpectedSize ( graph.nodes ( ) .size ( ) + 1 ) ; }
} } } private static final class Undirected<N> extends EndpointPairIterator<N> { @CheckForNull private Set<@Nullable N> visitedNodes; private Undirected(BaseGraph<N> graph) { <extra_id_0> @Override @CheckForNull protected EndpointPair<N> computeNext() { while (true) { requireNonNull(visitedNodes); while (successorIterator.hasNext()) {