Package io.github.connellite.function
Interface UncheckedBiPredicate<T,U>
- All Superinterfaces:
BiPredicate<T,U>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
BiPredicate that may throw; checked exceptions are rethrown via ReflectionUtil.propagate(Throwable).-
Method Summary
Modifier and TypeMethodDescriptionstatic <T,U> UncheckedBiPredicate<T, U> of(UncheckedBiPredicate<T, U> predicate) Gives a throwing method reference this interface as its target type.default booleanDelegates touncheckedTest(T, U); checked exceptions are propagated.booleanuncheckedTest(T t, U u) Same astest(T, U), but may throw.Methods inherited from interface java.util.function.BiPredicate
and, negate, or
-
Method Details
-
test
Delegates touncheckedTest(T, U); checked exceptions are propagated.- Specified by:
testin interfaceBiPredicate<T,U>
-
uncheckedTest
Same astest(T, U), but may throw.- Throws:
Throwable
-
of
Gives a throwing method reference this interface as its target type. The same instance is returned;test(T, U)still propagates checked exceptions.
-