Package org.springframework.data.util
Interface Predicates
public interface Predicates
Utility methods to work with 
Predicates.- Since:
 - 2.7
 - Author:
 - Mark Paluch
 
- 
Field Summary
FieldsModifier and TypeFieldDescription - 
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic booleanisExcluded(Constructor<?> candidate) Whether to not consider aConstructor.static <T> Predicate<T>isFalse()APredicatethat yields alwaysfalse.static booleanisIncluded(Constructor<?> candidate) Whether to consider aConstructor.static <T> Predicate<T>isTrue()APredicatethat yields alwaystrue.static <T> Predicate<T>Returns aPredicatethat represents the logical negation ofpredicate. 
- 
Field Details
- 
IS_ENUM_MEMBER
 - 
IS_HIBERNATE_MEMBER
 - 
IS_OBJECT_MEMBER
 - 
IS_JAVA
 - 
IS_NATIVE
 - 
IS_PRIVATE
 - 
IS_PROTECTED
 - 
IS_PUBLIC
 - 
IS_SYNTHETIC
 - 
IS_KOTLIN
 - 
IS_STATIC
 - 
IS_BRIDGE_METHOD
 
 - 
 - 
Method Details
- 
isTrue
APredicatethat yields alwaystrue.- Returns:
 - a 
Predicatethat yields alwaystrue. 
 - 
isFalse
APredicatethat yields alwaysfalse.- Returns:
 - a 
Predicatethat yields alwaysfalse. 
 - 
negate
Returns aPredicatethat represents the logical negation ofpredicate.- Returns:
 - a 
Predicatethat represents the logical negation ofpredicate. 
 - 
isIncluded
Whether to consider aConstructor. We generally exclude synthetic constructors for non-Kotlin classes.- Parameters:
 candidate-- Returns:
 
 - 
isExcluded
Whether to not consider aConstructor. We generally exclude synthetic constructors for non-Kotlin classes.- Parameters:
 candidate-- Returns:
 
 
 -