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() |
fold, fold, generate, iterate, mapReduce, mkString, newSubscriber, of, stream, subscribe, test, toDequeX, toEvalAlways, toEvalLater, toEvalNow, toFeatureToggle, toFutureStream, toFutureStream, toIor, toLazyImmutable, toListX, toMaybe, toMutable, toPBagX, toPOrderedSetX, toPQueueX, toPSetX, toPStackX, toPVectorX, toQueueX, toSetX, toSimpleReact, toSimpleReact, toSortedSetX, toTry, toTry, toTry, toXor, toXor, unapply, visit
endsWith, endsWithIterable, findAny, findFirst, firstValue, foldable, foldRight, foldRight, foldRight, foldRightMapToType, get, groupBy, headAndTail, 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, visit, visit, xMatch
fromSupplier, orElse, orElseGet, orElseThrow, toAtomicReference, toCompletableFuture, toCompletableFutureAsync, toCompletableFutureAsync, toFutureW, toList, toOptional, toOptionalAtomicReference, toStream
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()
iterator
in interface Convertable<T>
iterator
in interface java.lang.Iterable<T>
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