for (Iterator<Pattern> i = patternList.iterator(); i.hasNext(); ) { Pattern pattern = i.next();
for (Pattern pattern : patternList) {
	public boolean matches(String fileName) {		// Special case: if no classes or packages have been defined,		// then the screener matches all class files.		if (patternList.isEmpty())			return true;		if (DEBUG) System.out.println("Matching: " + fileName);		// Scan through list of regexes		for (Iterator<Pattern> i = patternList.iterator(); i.hasNext(); ) {			Pattern pattern = i.next();			if (DEBUG) System.out.print("\tTrying [" + pattern.toString());			Matcher matcher = pattern.matcher(fileName);			if (matcher.find()) {				if (DEBUG) System.out.println("]: yes!");				return true;			}			if (DEBUG) System.out.println("]: no");		}		return false;	}