| Package | Description |
|---|---|
| org.eclipse.collections.impl.block.factory |
This package contains factory implementations for
Function, Predicate, SerializableComparator and Procedure. |
| org.eclipse.collections.impl.block.function.checked |
| Modifier and Type | Method and Description |
|---|---|
static <T> Function0<T> |
Functions0.throwing(ThrowingFunction0<T> throwingFunction0)
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> Function0<T> |
Functions0.throwing(ThrowingFunction0<T> throwingFunction0,
Function<? 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
Function0 that will throw a user specified RuntimeException based on the provided function.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CheckedFunction0<R> |
Copyright © 2004–2022. All rights reserved.