T
- Return type@FunctionalInterface public interface Trampoline<T> extends java.util.function.Supplier<T>, Value<T>
Value.ValueImpl<T>
Convertable.SupplierToConvertable<T>
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() |
collect, fold, fold, generate, iterate, mapReduce, mkString, newSubscriber, of, stream, subscribe, test, toDequeX, toEvalAlways, toEvalLater, toEvalNow, toFeatureToggle, toFutureStream, toFutureStream, toIor, toLazyImmutable, toList, toListX, toMaybe, toMutable, toPBagX, toPOrderedSetX, toPQueueX, toPSetX, toPStackX, toPVectorX, toQueueX, toSetX, toSimpleReact, toSimpleReact, toSortedSetX, toTry, toTry, toTry, toXor, toXor, unapply
endsWith, endsWithIterable, findAny, findFirst, firstValue, foldable, foldRight, foldRight, foldRight, foldRightMapToType, get, groupBy, join, join, join, mapReduce, print, print, printErr, printOut, reduce, reduce, reduce, reduce, reduce, reduce, reduce, schedule, scheduleFixedDelay, scheduleFixedRate, single, single, singleOptional, startsWith, startsWithIterable, toConcurrentLazyCollection, toConcurrentLazyStreamable, toLazyCollection, validate, xMatch
collect, fromSupplier, isPresent, orElse, orElseGet, orElseThrow, toAtomicReference, toCompletableFuture, toCompletableFutureAsync, toCompletableFutureAsync, toFutureW, toFutureWAsync, toFutureWAsync, toOptional, toOptionalAtomicReference, toStream, visit
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