Package com.hazelcast.function
Interface BiPredicateEx<T,U>
- Type Parameters:
T
- the type of the first argument to the predicateU
- the type of the second argument the predicate
- All Superinterfaces:
BiPredicate<T,U>
,Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface BiPredicateEx<T,U> extends BiPredicate<T,U>, Serializable
Serializable
variant of java.util.function.BiPredicate
which declares checked exception.- Since:
- 4.0
-
Method Summary
Modifier and Type Method Description default BiPredicateEx<T,U>
and(BiPredicateEx<? super T,? super U> other)
Serializable
variant ofjava.util.function.BiPredicate#and(BiPredicate)
.default BiPredicateEx<T,U>
negate()
Serializable
variant ofjava.util.function.BiPredicate#negate()
.default BiPredicateEx<T,U>
or(BiPredicateEx<? super T,? super U> other)
Serializable
variant ofjava.util.function.BiPredicate#or(BiPredicate)
.default boolean
test(T t, U u)
boolean
testEx(T t, U u)
Exception-declaring version ofBiPredicate.test(T, U)
.
-
Method Details
-
testEx
Exception-declaring version ofBiPredicate.test(T, U)
.- Throws:
Exception
- in case of any exceptional case
-
test
- Specified by:
test
in interfaceBiPredicate<T,U>
-
and
Serializable
variant ofjava.util.function.BiPredicate#and(BiPredicate)
. -
negate
Serializable
variant ofjava.util.function.BiPredicate#negate()
.- Specified by:
negate
in interfaceBiPredicate<T,U>
-
or
Serializable
variant ofjava.util.function.BiPredicate#or(BiPredicate)
.
-