Package io.github.classgraph
Interface ResourceList.ResourceFilter
-
- Enclosing class:
- ResourceList
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface ResourceList.ResourceFilter
Filter aResourceList
using a predicate mapping aResource
object to a boolean, producing anotherResourceList
for all items in the list for which the predicate is true.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(Resource resource)
Whether or not to allow aResource
list item through the filter.
-