public PackageInfoList filter(final PackageInfoFilter filter) {
        final PackageInfoList packageInfoFiltered = new PackageInfoList();
        for (final PackageInfo resource : this) {
            if (filter.accept(resource)) {
                packageInfoFiltered.add(resource);
            }
        }
        return packageInfoFiltered;
    }
public PackageInfoList filter ( final PackageInfoFilter filter ) { final PackageInfoList packageInfoFiltered = new PackageInfoList ( ) ; for ( final PackageInfo resource : this ) { if ( filter . accept ( resource ) ) { packageInfoFiltered . add ( resource ) ; } } return packageInfoFiltered ; }
Find the subset of the {@link PackageInfo} objects in this list for which the given filter predicate is true.

@param filter
The {@link PackageInfoFilter} to apply.
@return The subset of the {@link PackageInfo} objects in this list for which the given filter predicate is
true.