public interface Either<L,R>
| Modifier and Type | Interface and Description |
|---|---|
static class |
Either.Left<L,R> |
static class |
Either.Right<L,R> |
| Modifier and Type | Method and Description |
|---|---|
static <A> Either<java.lang.Throwable,A> |
catching(java.util.function.Supplier<A> f) |
default java.util.Optional<R> |
toJavaOptional() |