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 SummaryModifier 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- 
testExException-declaring version ofPredicate.test(T).- Throws:
- Exception- in case of any exceptional case
 
- 
test
- 
alwaysTrueReturns a predicate that always evaluates totrue.- Type Parameters:
- T- the type of the input to the predicate
 
- 
alwaysFalseReturns a predicate that always evaluates tofalse.- Type Parameters:
- T- the type of the input to the predicate
 
- 
isEqualSerializablevariant of- Type Parameters:
- T- the type of the input to the predicate- java.util.function.Predicate#isEqual(Object).
 
- 
andSerializablevariant ofjava.util.function.Predicate#and(Predicate).
- 
negateSerializablevariant ofPredicate.negate().
- 
orSerializablevariant ofjava.util.function.Predicate#or(Predicate).
 
-