| Package | Description |
|---|---|
| de.flapdoodle.types |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableNone<T>
Immutable implementation of
Maybe.None. |
class |
ImmutableSome<T>
Immutable implementation of
Maybe.Some. |
static class |
Maybe.None<T> |
static class |
Maybe.Some<T> |
| Modifier and Type | Method and Description |
|---|---|
abstract <R> Maybe<R> |
Maybe.map(Function<T,R> mapping) |
<R> Maybe<R> |
Maybe.Some.map(Function<T,R> mapping) |
<R> Maybe<R> |
Maybe.None.map(Function<T,R> mapping) |
Copyright © 2023. All rights reserved.