Class CheckedFutureTransformer<S,​T,​E extends Exception>

  • All Implemented Interfaces:
    com.google.common.util.concurrent.ListenableFuture<T>, Future<T>, CheckedFuture<T,​E>

    public class CheckedFutureTransformer<S,​T,​E extends Exception>
    extends Object
    implements CheckedFuture<T,​E>
    A CheckedFuture decorator converting a checked future with value type S to a checked future with value type T. Preserves the exception type.
    Author:
    Eyal Schneider