| Package | Description |
|---|---|
| de.flapdoodle.os.common.types |
| Modifier and Type | Method and Description |
|---|---|
ImmutableEither<L,R> |
ImmutableEither.Builder.build()
Builds a new
ImmutableEither. |
static <L,R> ImmutableEither<L,R> |
ImmutableEither.copyOf(Either<L,R> instance)
Creates an immutable copy of a
Either value. |
ImmutableEither<L,R> |
ImmutableEither.withOptLeft(L value)
Copy the current immutable object by setting a present value for the optional
optLeft attribute. |
ImmutableEither<L,R> |
ImmutableEither.withOptLeft(Optional<? extends L> optional)
Copy the current immutable object by setting an optional value for the
optLeft attribute. |
ImmutableEither<L,R> |
ImmutableEither.withOptRight(Optional<? extends R> optional)
Copy the current immutable object by setting an optional value for the
optRight attribute. |
ImmutableEither<L,R> |
ImmutableEither.withOptRight(R value)
Copy the current immutable object by setting a present value for the optional
optRight attribute. |
Copyright © 2022. All rights reserved.