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 | 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.
|
Modifier and Type | Class | Description |
---|---|---|
class |
CheckedFunction2<T1,T2,R> |
Copyright © 2004–2018. All rights reserved.