| Package | Description |
|---|---|
| de.flapdoodle.types |
| Modifier and Type | Method and Description |
|---|---|
ImmutableSome<T> |
ImmutableSome.Builder.build()
Builds a new
ImmutableSome. |
static <T> ImmutableSome<T> |
ImmutableSome.copyOf(Maybe.Some<T> instance)
Creates an immutable copy of a
Maybe.Some value. |
static <T> ImmutableSome<T> |
ImmutableSome.of(T value)
Construct a new immutable
Some instance. |
ImmutableSome<T> |
ImmutableSome.withValue(T value)
Copy the current immutable object by setting a value for the
value attribute. |
Copyright © 2023. All rights reserved.