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:
java.util.function.BiPredicate<T,U>
,java.io.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 java.util.function.BiPredicate<T,U>, java.io.Serializable
Serializable
variant ofjava.util.function.BiPredicate
which declares checked exception.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods 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 Detail
-
testEx
boolean testEx(T t, U u) throws java.lang.Exception
Exception-declaring version ofBiPredicate.test(T, U)
.- Throws:
java.lang.Exception
- in case of any exceptional case
-
and
default BiPredicateEx<T,U> and(BiPredicateEx<? super T,? super U> other)
Serializable
variant ofjava.util.function.BiPredicate#and(BiPredicate)
.
-
negate
default BiPredicateEx<T,U> negate()
Serializable
variant ofjava.util.function.BiPredicate#negate()
.
-
or
default BiPredicateEx<T,U> or(BiPredicateEx<? super T,? super U> other)
Serializable
variant ofjava.util.function.BiPredicate#or(BiPredicate)
.
-
-