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