Uses of Interface
org.eclipse.collections.impl.block.procedure.checked.ThrowingProcedure2
-
Packages that use ThrowingProcedure2 Package Description org.eclipse.collections.impl.block.factory This package contains factory implementations forFunction
,Predicate
,SerializableComparator
andProcedure
.org.eclipse.collections.impl.block.procedure.checked This package contains abstract implementations ofProcedure
andProcedure2
. -
-
Uses of ThrowingProcedure2 in org.eclipse.collections.impl.block.factory
Classes in org.eclipse.collections.impl.block.factory that implement ThrowingProcedure2 Modifier and Type Class Description private static class
Procedures2.ThrowingProcedure2Adapter<T,P>
Fields in org.eclipse.collections.impl.block.factory declared as ThrowingProcedure2 Modifier and Type Field Description private ThrowingProcedure2<T,P>
Procedures2.ThrowingProcedure2Adapter. throwingProcedure2
Methods in org.eclipse.collections.impl.block.factory with parameters of type ThrowingProcedure2 Modifier and Type Method Description static <T,P>
Procedure2<T,P>Procedures2. throwing(ThrowingProcedure2<T,P> throwingProcedure2)
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 RuntimeException, wrapping the checked exception that is the cause.static <T1,T2>
Procedure2<T1,T2>Procedures2. throwing(ThrowingProcedure2<T1,T2> throwingProcedure, 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 ThrowingProcedure2 Constructor Description ThrowingProcedure2Adapter(ThrowingProcedure2<T,P> throwingProcedure2)
-
Uses of ThrowingProcedure2 in org.eclipse.collections.impl.block.procedure.checked
Classes in org.eclipse.collections.impl.block.procedure.checked that implement ThrowingProcedure2 Modifier and Type Class Description class
CheckedProcedure2<T,P>
class
MultimapKeyValuesSerializingProcedure<K,V>
-