src/main/java/io/avaje/classpath/scanner/internal/scanner/filesystem/FileSystemScanner.java
private Set<String> filterResourceNames(Set<String> resourceNames, Predicate<String> predicate) {
    Set<String> filteredResourceNames = new TreeSet<>();
    for (String resourceName : resourceNames) {
      if (predicate.test(resourceName)) {
        filteredResourceNames.add(resourceName);
      }
    }
    return filteredResourceNames;
  }
/**
   * Filters this list of resource names to only include the ones whose filename matches this prefix and this suffix.
   */
Filters this list of resource names to only include the ones whose filename matches this prefix and this suffix.
Filters this list of resource names to only include the ones whose filename matches this prefix and this suffix .
private Set<String> filterResourceNames(Set<String> resourceNames, Predicate<String> predicate) {
    Set<String> filteredResourceNames = new TreeSet<>();
    for (String resourceName : resourceNames) {
      if (predicate.test(resourceName)) {
        filteredResourceNames.add(resourceName);
      }
    }
    return filteredResourceNames;
  }
private Set < String > filterResourceNames ( Set < String > resourceNames , Predicate < String > predicate ) { Set < String > filteredResourceNames = new TreeSet < > ( ) ; for ( String resourceName : resourceNames ) { if ( predicate . test ( resourceName ) ) { filteredResourceNames . add ( resourceName ) ; } } return filteredResourceNames ; }
Filters this list of resource names to only include the ones whose filename matches this prefix and this suffix.
Filters this list of resource names to only include the ones whose filename matches this prefix and this suffix .