T
- see BiPredicate
U
- see BiPredicate
@FunctionalInterface public interface ThrowingBiPredicate<T,U>
BiPredicate
that allows throwing checked exceptions. ThrowingBiPredicate
is usually implemented by a lambda and passed to CheckedExceptionHandler.fromBiPredicate(ThrowingBiPredicate)
. See noexception tutorial.
Modifier and Type | Method and Description |
---|---|
boolean |
test(T t, U u)
Variation of BiPredicate.test(Object, Object) that allows throwing checked exceptions.
|
boolean test(T t, U u) throws Throwable
BiPredicate.test(Object, Object)
that allows throwing checked exceptions.
t
- see BiPredicate.test(Object, Object)
u
- see BiPredicate.test(Object, Object)
BiPredicate.test(Object, Object)
Throwable
- if unable to complete
CheckedExceptionHandler.fromBiPredicate(ThrowingBiPredicate)
, BiPredicate.test(Object, Object)
Copyright © 2017–2020 Robert Važan. All rights reserved.