| Modifier and Type | Method and Description |
|---|---|
default Throwing.Function3<V1,V2,V3,R> |
Throwing.Function3.memoized()
A function that remember/cache previous executions.
|
default <X extends Throwable> |
Throwing.Function3.onFailure(Class<X> type,
Consumer<X> action)
Apply this function and run the given action in case of exception.
|
default Throwing.Function3<V1,V2,V3,R> |
Throwing.Function3.onFailure(Consumer<Throwable> action)
Apply this function and run the given action in case of exception.
|
default Throwing.Function3<V1,V2,V3,R> |
Throwing.Function3.orElse(R defaultValue)
Apply this function and returns the given default value in case of exception.
|
default Throwing.Function3<V1,V2,V3,R> |
Throwing.Function3.orElse(Throwing.Supplier<R> defaultValue)
Apply this function and returns the given default value in case of exception.
|
default <X extends Throwable> |
Throwing.Function3.recover(Class<? extends X> type,
Function<X,R> fn)
Apply this function or recover from a specific exception in case of exception.
|
default Throwing.Function3<V1,V2,V3,R> |
Throwing.Function3.recover(Function<Throwable,R> fn)
Apply this function or recover from it in case of exception.
|
static <V1,V2,V3,R> |
Throwing.throwingFunction(Throwing.Function3<V1,V2,V3,R> fn) |
default <X extends Throwable> |
Throwing.Function3.unwrap(Class<? extends X> type)
Apply this function and unwrap any resulting exception.
|
default Throwing.Function3<V1,V2,V3,R> |
Throwing.Function3.wrap(Function<Throwable,Exception> wrapper)
Apply this function and wrap any resulting exception.
|
| Modifier and Type | Method and Description |
|---|---|
<V> Try.Value<V> |
Try.ResourceHandler3.apply(Throwing.Function3<R1,R2,R3,V> fn) |
static <V1,V2,V3,R> |
Throwing.throwingFunction(Throwing.Function3<V1,V2,V3,R> fn) |
Copyright © 2017. All rights reserved.