Package org.springframework.data.util
Interface Predicates
public interface Predicates
Utility methods to work with
Predicate
s.- Since:
- 2.7
- Author:
- Mark Paluch
-
Method Details
-
isTrue
APredicate
that yields alwaystrue
.- Returns:
- a
Predicate
that yields alwaystrue
.
-
isFalse
APredicate
that yields alwaysfalse
.- Returns:
- a
Predicate
that yields alwaysfalse
.
-
negate
Returns aPredicate
that represents the logical negation ofpredicate
.- Returns:
- a
Predicate
that represents the logical negation ofpredicate
.
-