Uses of Interface
org.eclipse.collections.impl.block.predicate.checked.ThrowingPredicate
-
Packages that use ThrowingPredicate 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 ThrowingPredicate in org.eclipse.collections.impl.block.factory
Classes in org.eclipse.collections.impl.block.factory that implement ThrowingPredicate Modifier and Type Class Description private static class
Predicates.ThrowingPredicateAdapter<T>
Fields in org.eclipse.collections.impl.block.factory declared as ThrowingPredicate Modifier and Type Field Description private ThrowingPredicate<T>
Predicates.ThrowingPredicateAdapter. throwingPredicate
Methods in org.eclipse.collections.impl.block.factory with parameters of type ThrowingPredicate Modifier and Type Method Description static <T> Predicate<T>
Predicates. throwing(ThrowingPredicate<T> throwingPredicate)
Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Predicate that will throw a RuntimeException, wrapping the checked exception that is the cause.static <T> Predicate<T>
Predicates. throwing(ThrowingPredicate<T> throwingPredicate, Function2<T,? 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 Predicate that will throw a user specified RuntimeException based on the provided function.Constructors in org.eclipse.collections.impl.block.factory with parameters of type ThrowingPredicate Constructor Description ThrowingPredicateAdapter(ThrowingPredicate<T> throwingPredicate)
-
Uses of ThrowingPredicate in org.eclipse.collections.impl.block.predicate.checked
Classes in org.eclipse.collections.impl.block.predicate.checked that implement ThrowingPredicate Modifier and Type Class Description class
CheckedPredicate<T>
-