Modifier and Type | Method | Description |
---|---|---|
default Trampoline<T> |
Trampoline.bounce() |
|
static <T> Trampoline<T> |
Trampoline.done(T result) |
|
default <R> Trampoline<R> |
Trampoline.flatMap(Function<? super T,? extends Trampoline<R>> fn) |
map this trampoline which returns a T, into another one that returns a R.
|
default <R> Trampoline<R> |
Trampoline.map(Function<? super T,? extends R> fn) |
maps this trampoline which returns a T, into another one that returns a R.
|
static <T> Trampoline<T> |
Trampoline.more(Trampoline<Trampoline<T>> trampoline) |
Modifier and Type | Method | Description |
---|---|---|
static <T> Trampoline<T> |
Trampoline.more(Trampoline<Trampoline<T>> trampoline) |
Modifier and Type | Method | Description |
---|---|---|
default <R> Trampoline<R> |
Trampoline.flatMap(Function<? super T,? extends Trampoline<R>> fn) |
map this trampoline which returns a T, into another one that returns a R.
|
static <T> Trampoline<T> |
Trampoline.more(Trampoline<Trampoline<T>> trampoline) |
Copyright © 2019. All rights reserved.