Iterator<String> cIt = loop.iterator(); while (cIt.hasNext()) { String clsName = cIt.next();
for (String clsName : loop) {
	private boolean removeLoopLinks(Map<String, Set<String>> dependencyGraph, Set<String> loop) 	{		Set<String> dependencies = null;		Iterator<String> cIt = loop.iterator();		while (cIt.hasNext()) {			String clsName = cIt.next();			if (dependencies != null)				dependencies.remove(clsName);			dependencies = dependencyGraph.get(clsName);		}		if (dependencies != null)			dependencies.remove(loop.iterator().next());				boolean removedClass = false;		cIt = loop.iterator();		while (cIt.hasNext()) {			String clsName = cIt.next();			dependencies = dependencyGraph.get(clsName);			if (dependencies.size() == 0) {				cIt.remove();				removedClass = true;			}		}		return removedClass;	}