public interface Function<T,R>
Future
s by
supplying it to: Future.andThenApply(Function)
,
Future.andThenCompose(Function)
, Future.thenApply(Function)
and Future.thenCompose(Function)
For a simpler use, prefer using Consumer
implementation.
Modifier and Type | Method and Description |
---|---|
R |
execute(T value)
Apply this function to the given argument
|
Copyright © 2020. All rights reserved.