Uses of Interface
org.eclipse.collections.impl.block.predicate.checked.ThrowingPredicate2
-
Packages that use ThrowingPredicate2 Package Description org.eclipse.collections.impl.block.factory This package contains factory implementations forFunction
,Predicate
,SerializableComparator
andProcedure
.org.eclipse.collections.impl.block.predicate.checked This package contains abstract implementations ofPredicate
andPredicate2
. -
-
Uses of ThrowingPredicate2 in org.eclipse.collections.impl.block.factory
Classes in org.eclipse.collections.impl.block.factory that implement ThrowingPredicate2 Modifier and Type Class Description private static class
Predicates2.ThrowingPredicate2Adapter<T,P>
Fields in org.eclipse.collections.impl.block.factory declared as ThrowingPredicate2 Modifier and Type Field Description private ThrowingPredicate2<T,P>
Predicates2.ThrowingPredicate2Adapter. throwingPredicate2
Methods in org.eclipse.collections.impl.block.factory with parameters of type ThrowingPredicate2 Modifier and Type Method Description static <T,P>
Predicate2<T,P>Predicates2. throwing(ThrowingPredicate2<T,P> throwingPredicate2)
Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Predicate2 that will throw a RuntimeException, wrapping the checked exception that is the cause.static <T1,T2>
Predicate2<T1,T2>Predicates2. throwing(ThrowingPredicate2<T1,T2> throwingPredicate2, Function3<T1,T2,? super java.lang.Throwable,? extends java.lang.RuntimeException> rethrow)
Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Procedure2 that will throw a user specified RuntimeException based on the provided function.Constructors in org.eclipse.collections.impl.block.factory with parameters of type ThrowingPredicate2 Constructor Description ThrowingPredicate2Adapter(ThrowingPredicate2<T,P> throwingPredicate2)
-
Uses of ThrowingPredicate2 in org.eclipse.collections.impl.block.predicate.checked
Classes in org.eclipse.collections.impl.block.predicate.checked that implement ThrowingPredicate2 Modifier and Type Class Description class
CheckedPredicate2<T,P>
-