<U> Result<U> |
Err.flatMap(FunctionWithException<? super V,? extends Result<? extends U>> mapper) |
FlatMap the contained value if this is an Ok value.
|
<U> Result<U> |
Ok.flatMap(FunctionWithException<? super V,? extends Result<? extends U>> mapper) |
FlatMap the contained value if this is an Ok value.
|
<U> Result<U> |
Result.flatMap(FunctionWithException<? super V,? extends Result<? extends U>> mapper) |
FlatMap the contained value if this is an Ok value.
|
<U> Result<U> |
Err.map(FunctionWithException<? super V,? extends U> mapper) |
Map the contained value if this is an Ok value.
|
<U> Result<U> |
Ok.map(FunctionWithException<? super V,? extends U> mapper) |
Map the contained value if this is an Ok value.
|
<U> Result<U> |
Result.map(FunctionWithException<? super V,? extends U> mapper) |
Map the contained value if this is an Ok value.
|
Result<V> |
Err.mapErr(FunctionWithException<? super java.lang.String,? extends java.lang.CharSequence> mapper) |
Map the contained error if this is an Err value.
|
Result<V> |
Ok.mapErr(FunctionWithException<? super java.lang.String,? extends java.lang.CharSequence> mapper) |
Map the contained error if this is an Err value.
|
Result<V> |
Result.mapErr(FunctionWithException<? super java.lang.String,? extends java.lang.CharSequence> mapper) |
Map the contained error if this is an Err value.
|
<R extends java.lang.Throwable> V |
Err.orElseThrow(FunctionWithException<? super java.lang.String,? extends R> throwableSupplier) |
Returns the contained value if this is an Ok value.
|
<R extends java.lang.Throwable> V |
Ok.orElseThrow(FunctionWithException<? super java.lang.String,? extends R> throwableSupplier) |
Returns the contained value if this is an Ok value.
|
<R extends java.lang.Throwable> V |
Result.orElseThrow(FunctionWithException<? super java.lang.String,? extends R> throwableSupplier) |
Returns the contained value if this is an Ok value.
|
Result<V> |
Err.recover(FunctionWithException<? super java.lang.String,? extends V> recover) |
Recover the contained error if this is an Err value.
|
Result<V> |
Ok.recover(FunctionWithException<? super java.lang.String,? extends V> recover) |
Recover the contained error if this is an Err value.
|
Result<V> |
Result.recover(FunctionWithException<? super java.lang.String,? extends V> recover) |
Recover the contained error if this is an Err value.
|
Result<V> |
Err.recoverWith(FunctionWithException<? super java.lang.String,? extends Result<? extends V>> recover) |
Recover the contained error if this is an Err value.
|
Result<V> |
Ok.recoverWith(FunctionWithException<? super java.lang.String,? extends Result<? extends V>> recover) |
Recover the contained error if this is an Err value.
|
Result<V> |
Result.recoverWith(FunctionWithException<? super java.lang.String,? extends Result<? extends V>> recover) |
Recover the contained error if this is an Err value.
|