类 FutureAdapter<T,​S>

  • 类型参数:
    T - the type of this Future
    S - the type of the adaptee's Future
    所有已实现的接口:
    Future<T>
    直接已知子类:
    ListenableFutureAdapter

    public abstract class FutureAdapter<T,​S>
    extends Object
    implements Future<T>
    Abstract class that adapts a Future parameterized over S into a Future parameterized over T. All methods are delegated to the adaptee, where get() and get(long, TimeUnit) call adapt(Object) on the adaptee's result.
    从以下版本开始:
    4.0
    作者:
    Arjen Poutsma