docs: public ResourceList filter(final ResourceFilter filter) {
          final ResourceList resourcesFiltered = new ResourceList();
          for (final Resource resource : this) {
              if (filter.accept(resource)) {
                  resourcesFiltered.add(resource);
              }
          }
          return resourcesFiltered;
      }