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