Uses of Interface
org.eclipse.collections.impl.block.function.checked.ThrowingFunction2
Packages that use ThrowingFunction2
Package
Description
This package contains factory implementations for
Function
, Predicate
, SerializableComparator
and Procedure
.-
Uses of ThrowingFunction2 in org.eclipse.collections.impl.block.factory
Classes in org.eclipse.collections.impl.block.factory that implement ThrowingFunction2Modifier and TypeClassDescriptionprivate static final class
Fields in org.eclipse.collections.impl.block.factory declared as ThrowingFunction2Modifier and TypeFieldDescriptionprivate final ThrowingFunction2
<T, P, V> Functions2.ThrowingFunction2Adapter.throwingFunction2
Methods in org.eclipse.collections.impl.block.factory with parameters of type ThrowingFunction2Modifier and TypeMethodDescriptionstatic <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 Throwable, ? extends 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 ThrowingFunction2ModifierConstructorDescriptionprivate
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