Uses of Interface
org.eclipse.collections.impl.block.function.checked.ThrowingFunction
Packages that use ThrowingFunction
Package
Description
This package contains factory implementations for
Function
, Predicate
, SerializableComparator
and Procedure
.-
Uses of ThrowingFunction in org.eclipse.collections.impl.block.factory
Classes in org.eclipse.collections.impl.block.factory that implement ThrowingFunctionModifier and TypeClassDescriptionprivate static class
private static final class
Fields in org.eclipse.collections.impl.block.factory declared as ThrowingFunctionModifier and TypeFieldDescriptionprivate final ThrowingFunction
<T, V> Functions.ThrowingFunctionAdapter.throwingFunction
Methods in org.eclipse.collections.impl.block.factory with parameters of type ThrowingFunctionModifier and TypeMethodDescriptionstatic <T,
V> Function <T, V> Functions.throwing
(ThrowingFunction<T, V> throwingFunction) Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Function that will throw a RuntimeException, wrapping the checked exception that is the cause.static <T,
V> Function <T, V> Functions.throwing
(ThrowingFunction<T, V> throwingFunction, 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 Function that will throw a user specified RuntimeException based on the provided function.Constructors in org.eclipse.collections.impl.block.factory with parameters of type ThrowingFunctionModifierConstructorDescriptionprivate
ThrowingFunctionAdapter
(ThrowingFunction<T, V> throwingFunction) -
Uses of ThrowingFunction in org.eclipse.collections.impl.block.function.checked
Classes in org.eclipse.collections.impl.block.function.checked that implement ThrowingFunction