for (Iterator<DetectorNode> i = earlierSet.iterator(); i.hasNext();) { DetectorNode earlier = i.next(); for (Iterator<DetectorNode> j = laterSet.iterator(); j.hasNext();) { DetectorNode later = j.next();
for (DetectorNode earlier : earlierSet) { for (DetectorNode later : laterSet) {
	private void createConstraintEdges(			ConstraintGraph result,			Set<DetectorNode> earlierSet,			Set<DetectorNode> laterSet, DetectorOrderingConstraint constraint) throws OrderingConstraintException {				// It is perfectly fine for a constraint to produce no edges		// if any detector it specifies is not enabled.		if (earlierSet.isEmpty() || laterSet.isEmpty())			return;				for (Iterator<DetectorNode> i = earlierSet.iterator(); i.hasNext();) {			DetectorNode earlier = i.next();			for (Iterator<DetectorNode> j = laterSet.iterator(); j.hasNext();) {				DetectorNode later = j.next();				result.createEdge(earlier, later);			}		}	}