Uses of Interface
org.eclipse.collections.impl.block.procedure.checked.ThrowingProcedure
Packages that use ThrowingProcedure
Package
Description
This package contains factory implementations for
Function
, Predicate
, SerializableComparator
and Procedure
.This package contains abstract implementations of
Procedure
and Procedure2
.-
Uses of ThrowingProcedure in org.eclipse.collections.impl.block.factory
Methods in org.eclipse.collections.impl.block.factory with parameters of type ThrowingProcedureModifier and TypeMethodDescriptionstatic <T> Procedure<T>
Procedures.throwing
(ThrowingProcedure<T> throwingProcedure) Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Procedure that will throw a RuntimeException, wrapping the checked exception that is the cause.static <T> Procedure<T>
Procedures.throwing
(ThrowingProcedure<T> throwingProcedure, Function2<T, ? super Throwable, ? extends RuntimeException> rethrow) Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Procedure that will throw a user specified RuntimeException based on the provided function. -
Uses of ThrowingProcedure in org.eclipse.collections.impl.block.procedure.checked
Classes in org.eclipse.collections.impl.block.procedure.checked that implement ThrowingProcedure