Resource
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static <T> T | |
| public boolean | |
| public static ResourceFilter | Returns: an instance ofResourceFilter; never nullthe resource predicate; never resourcePredicate)nullCreate a |
| predicate | back to summary |
|---|---|
| private final Predicate<? super Resource> predicate | |
| ResourceFilter | back to summary |
|---|---|
| private ResourceFilter(Predicate<? super Resource> predicate) | |
| checkNotNull | back to summary |
|---|---|
private static <T> T checkNotNull(@Nullable T input, String title)
| |
| match | back to summary |
|---|---|
| public boolean match(Resource resource) Test whether the given resource matches this filter.
| |
| of | back to summary |
|---|---|
| public static ResourceFilter of(Predicate<? super Resource> resourcePredicate) Create a
| |