| Package | Description |
|---|---|
| de.flapdoodle.types |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
Maybe.get() |
abstract L |
Either.left() |
abstract R |
Either.right() |
protected T |
ImmutableSome.value() |
protected abstract T |
Maybe.Some.value() |
| Modifier and Type | Method and Description |
|---|---|
static <T> ImmutableSome<T> |
ImmutableSome.of(T value)
Construct a new immutable
Some instance. |
static <T> Maybe.Some<T> |
Maybe.some(T value) |
ImmutableSome.Builder<T> |
ImmutableSome.Builder.value(T value)
Initializes the value for the
value attribute. |
ImmutableSome<T> |
ImmutableSome.withValue(T value)
Copy the current immutable object by setting a value for the
value attribute. |
Copyright © 2024. All rights reserved.