Duplications Manager

570274b86eaa5a0c65add09c

@throws illegalargumentexception if the filter is {@code null}or files contains a {@code null} value.
@return a subset of files that is accepted by thefile filter.
@param filter the filter to apply to the set of files.
@param files the array of files to apply the filter to.
@description 

applies an {@link iofilefilter} to the provided {@link file}objects. the resulting array is a subset of the original file list thatmatches the provided filter.

the {@link set} returned by this method is not guaranteed to be thread safe.

set<file> allfiles = ...set<file> javafiles = filefilterutils.filterset(allfiles,filefilterutils.suffixfilefilter( .java ));

"public static File[] filter(IOFileFilter filter,File files)"

file : https_github_com_apache_commons-io_git/src/main/java/org/apache/commons/io/filefilter/FileFilterUtils.java

"public static File[] filter(IOFileFilter filter, files)"

file : https_github_com_apache_commons-io_git/src/main/java/org/apache/commons/io/filefilter/FileFilterUtils.java