Package | Description |
---|---|
org.junit.platform.commons.function |
Maintained functional interfaces and support classes.
|
Modifier and Type | Method and Description |
---|---|
abstract <U> Try<U> |
Try.andThenTry(Try.Transformer<V,U> transformer)
If this
Try is a success, apply the supplied transformer to its
value and return a new successful or failed Try depending on the
transformer's outcome; if this Try is a failure, do nothing. |
<U> Try<U> |
Try.Success.andThenTry(Try.Transformer<V,U> transformer) |
<U> Try<U> |
Try.Failure.andThenTry(Try.Transformer<V,U> transformer) |