Package com.hazelcast.function
Interface PredicateEx<T>
- Type Parameters:
 T- the type of the input to the predicate
- All Superinterfaces:
 Predicate<T>,Serializable
- All Known Subinterfaces:
 JetMemberSelector
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
Serializable variant of java.util.function.Predicate which declares checked exception.- Since:
 - 4.0
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic <T> PredicateEx<T>Returns a predicate that always evaluates tofalse.static <T> PredicateEx<T>Returns a predicate that always evaluates totrue.default PredicateEx<T>and(PredicateEx<? super T> other) Serializablevariant ofjava.util.function.Predicate#and(Predicate).static <T> PredicateEx<T>Serializablevariant ofdefault PredicateEx<T>negate()Serializablevariant ofPredicate.negate().default PredicateEx<T>or(PredicateEx<? super T> other) Serializablevariant ofjava.util.function.Predicate#or(Predicate).default booleanbooleanException-declaring version ofPredicate.test(T). 
- 
Method Details
- 
testEx
Exception-declaring version ofPredicate.test(T).- Throws:
 Exception- in case of any exceptional case
 - 
test
 - 
alwaysTrue
Returns a predicate that always evaluates totrue.- Type Parameters:
 T- the type of the input to the predicate
 - 
alwaysFalse
Returns a predicate that always evaluates tofalse.- Type Parameters:
 T- the type of the input to the predicate
 - 
isEqual
Serializablevariant of- Type Parameters:
 T- the type of the input to the predicatejava.util.function.Predicate#isEqual(Object).
 - 
and
Serializablevariant ofjava.util.function.Predicate#and(Predicate). - 
negate
Serializablevariant ofPredicate.negate(). - 
or
Serializablevariant ofjava.util.function.Predicate#or(Predicate). 
 -