/guava/android/guava/src/com/google/common/io/PatternFilenameFilter.java
this.pattern = Preconditions.checkNotNull ( pattern ) ;
public final class PatternFilenameFilter implements FilenameFilter { private final Pattern pattern; public PatternFilenameFilter(String patternStr) { this(Pattern.compile(patternStr)); } public PatternFilenameFilter(Pattern pattern) { <extra_id_0> } @Override public boolean accept(File dir, String fileName) { return pattern.matcher(fileName).matches(); } }