Interface PathObjectPredicates.PathObjectPredicate
- All Superinterfaces:
Predicate<PathObject>
- Enclosing class:
PathObjectPredicates
Predicate
for use with PathObject
s.-
Method Summary
Modifier and TypeMethodDescriptionCombine with anotherPathObjectPredicates.PathObjectPredicate
through AND.negate()
Combine with anotherPathObjectPredicates.PathObjectPredicate
through OR.
-
Method Details
-
and
Combine with anotherPathObjectPredicates.PathObjectPredicate
through AND.This should be used in preference of the
Predicate.and(Predicate)
method to retain aPathObjectPredicates.PathObjectPredicate
as a result.Providing no default implementation also has the effect of meaning that a
PathObjectPredicates.PathObjectPredicate
no longer works as aFunctionalInterface
, which would otherwise make it too easy to inadvertently create a generalPredicate
.- Parameters:
p
-- Returns:
-
or
Combine with anotherPathObjectPredicates.PathObjectPredicate
through OR.This should be used in preference of the
Predicate.and(Predicate)
method to retain aPathObjectPredicates.PathObjectPredicate
as a result.Providing no default implementation also has the effect of meaning that a
PathObjectPredicates.PathObjectPredicate
no longer works as aFunctionalInterface
, which would otherwise make it too easy to inadvertently create a generalPredicate
.- Parameters:
p
-- Returns:
-
negate
- Specified by:
negate
in interfacePredicate<PathObject>
-