Class TransformingFuture<FROM,​TO>

  • Type Parameters:
    FROM - The type returned by the delegate Future.
    TO - The type to convert to.
    All Implemented Interfaces:
    Future<TO>

    public class TransformingFuture<FROM,​TO>
    extends Object
    implements Future<TO>
    Future that both delegates to another one and provides the ability to transform the response to another type.