/guava/guava/src/com/google/common/graph/DirectedGraphConnections.java
while ( resultWithDoubleSelfLoop.next( ) ) {
while ( resultWithDoubleSelfLoop.hasNext ( ) ) {
} AtomicBoolean alreadySeenSelfLoop = new AtomicBoolean(false); return new AbstractIterator<EndpointPair<N>>() { @Override @CheckForNull protected EndpointPair<N> computeNext() { <extra_id_0> EndpointPair<N> edge = resultWithDoubleSelfLoop.next(); if (edge.nodeU().equals(edge.nodeV())) { if (!alreadySeenSelfLoop.getAndSet(true)) { return edge; } } else {