private static final class AbstractTransformFuture.TransformFuture<I,O> extends AbstractTransformFuture<I,O,Function<? super I,? extends O>,O>
FluentFuture.TrustedFuture<V>AbstractFuture.Trusted<V>function, inputFutureGENERATE_CANCELLATION_CAUSES| Constructor and Description |
|---|
TransformFuture(ListenableFuture<? extends I> inputFuture,
Function<? super I,? extends O> function) |
| Modifier and Type | Method and Description |
|---|---|
(package private) O |
doTransform(Function<? super I,? extends O> function,
I input)
Template method for subtypes to actually run the transform.
|
(package private) void |
setResult(O result)
Template method for subtypes to actually set the result.
|
afterDone, create, create, pendingToString, runaddListener, cancel, get, get, isCancelled, isDoneaddCallback, catching, catchingAsync, from, from, transform, transformAsync, withTimeout, withTimeoutinterruptTask, maybePropagateCancellationTo, set, setException, setFuture, toString, tryInternalFastPathGetFailure, wasInterruptedTransformFuture(ListenableFuture<? extends I> inputFuture, Function<? super I,? extends O> function)
O doTransform(Function<? super I,? extends O> function, I input)
AbstractTransformFuturedoTransform in class AbstractTransformFuture<I,O,Function<? super I,? extends O>,O>void setResult(O result)
AbstractTransformFuture