T - Return type@FunctionalInterface public interface Trampoline<T> extends Value<T>, To<Trampoline<T>>
{@codeValue.ValueImpl<T>Convertable.SupplierToConvertable<T>Fn0.FunctionalOperations<R>, Fn0.Instances, Fn0.SupplierKind<R>| Modifier and Type | Method and Description |
|---|---|
default Trampoline<T> |
bounce() |
default boolean |
complete() |
static <T> Trampoline<T> |
done(T result)
Created a completed Trampoline
|
T |
get() |
default java.util.Iterator<T> |
iterator() |
static <T> Trampoline<T> |
more(Trampoline<Trampoline<T>> trampoline)
Create a Trampoline that has more work to do
|
default T |
result() |
default Xor<Trampoline<T>,T> |
resume() |
default <R> R |
visit(java.util.function.Function<? super Trampoline<T>,? extends R> more,
java.util.function.Function<? super T,? extends R> done) |
default <B> Trampoline<org.jooq.lambda.tuple.Tuple2<T,B>> |
zip(Trampoline<B> b) |
default <B,R> Trampoline<R> |
zip(Trampoline<B> b,
java.util.function.BiFunction<? super T,? super B,? extends R> zipper) |
default <B,C> Trampoline<org.jooq.lambda.tuple.Tuple3<T,B,C>> |
zip(Trampoline<B> b,
Trampoline<C> c) |
default <B,C,R> Trampoline<R> |
zip(Trampoline<B> b,
Trampoline<C> c,
Fn3<? super T,? super B,? super C,? extends R> fn) |
apply, generate, iterate, mkString, newSubscriber, of, stream, subscribe, test, toEither, toEval, toEvalAlways, toEvalLater, toEvalNow, toIor, toLeft, toMaybe, toMaybeEager, toRight, toTry, toTry, toTry, toXor, toXorendsWith, endsWithIterable, findAny, findFirst, firstValue, foldLeft, foldLeft, foldLeft, foldLeft, foldRight, foldRight, foldRight, foldRightMapToType, get, groupBy, join, join, join, mapReduce, mapReduce, print, print, printErr, printOut, reduce, reduce, reduce, reduce, reduce, reduce, reduce, schedule, scheduleFixedDelay, scheduleFixedRate, single, single, singleUnsafe, startsWith, startsWithIterable, takeOne, xMatchcollect, fromSupplier, isPresent, orElse, orElseGet, orElseThrow, toCompletableFuture, toCompletableFutureAsync, toFuture, toFutureAsync, toOptional, toStream, visitdefault <R> R visit(java.util.function.Function<? super Trampoline<T>,? extends R> more, java.util.function.Function<? super T,? extends R> done)
default <B> Trampoline<org.jooq.lambda.tuple.Tuple2<T,B>> zip(Trampoline<B> b)
default <B,R> Trampoline<R> zip(Trampoline<B> b, java.util.function.BiFunction<? super T,? super B,? extends R> zipper)
default <B,C> Trampoline<org.jooq.lambda.tuple.Tuple3<T,B,C>> zip(Trampoline<B> b, Trampoline<C> c)
default <B,C,R> Trampoline<R> zip(Trampoline<B> b, Trampoline<C> c, Fn3<? super T,? super B,? super C,? extends R> fn)
default Xor<Trampoline<T>,T> resume()
default Trampoline<T> bounce()
default T result()
T get()
get in interface Convertable<T>get in interface java.util.function.Supplier<T>default java.util.Iterator<T> iterator()
default boolean complete()
static <T> Trampoline<T> done(T result)
result - Completed resultstatic <T> Trampoline<T> more(Trampoline<Trampoline<T>> trampoline)
trampoline - Next stage in Trampoline