Uses of Interface
org.eclipse.collections.impl.block.function.checked.ThrowingFunction2
-
Packages that use ThrowingFunction2 Package Description org.eclipse.collections.impl.block.factory This package contains factory implementations forFunction
,Predicate
,SerializableComparator
andProcedure
.org.eclipse.collections.impl.block.function.checked -
-
Uses of ThrowingFunction2 in org.eclipse.collections.impl.block.factory
Classes in org.eclipse.collections.impl.block.factory that implement ThrowingFunction2 Modifier and Type Class Description private static class
Functions2.ThrowingFunction2Adapter<T,P,V>
Fields in org.eclipse.collections.impl.block.factory declared as ThrowingFunction2 Modifier and Type Field Description private ThrowingFunction2<T,P,V>
Functions2.ThrowingFunction2Adapter. throwingFunction2
Methods in org.eclipse.collections.impl.block.factory with parameters of type ThrowingFunction2 Modifier and Type Method Description static <T,V,P>
Function2<T,P,V>Functions2. throwing(ThrowingFunction2<T,P,V> throwingFunction2)
Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Function2 that will throw a RuntimeException, wrapping the checked exception that is the cause.static <T1,T2,V>
Function2<T1,T2,V>Functions2. throwing(ThrowingFunction2<T1,T2,V> throwingFunction2, 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 Function2 that will throw a user specified RuntimeException based on the provided function.Constructors in org.eclipse.collections.impl.block.factory with parameters of type ThrowingFunction2 Constructor Description ThrowingFunction2Adapter(ThrowingFunction2<T,P,V> throwingFunction2)
-
Uses of ThrowingFunction2 in org.eclipse.collections.impl.block.function.checked
Classes in org.eclipse.collections.impl.block.function.checked that implement ThrowingFunction2 Modifier and Type Class Description class
CheckedFunction2<T1,T2,R>
-