Package io.vertx.reactivex.core

## Class ExpectationTransformer<T,​U>

- java.lang.Object
- - io.vertx.reactivex.core.ExpectationTransformer<T,​U>

- All Implemented Interfaces:
    `SingleTransformer<T,​T>`

      public final class ExpectationTransformer<T,​U>
      extends Object
      implements SingleTransformer<T,​T>

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ExpectationTransformer​(Expectation<U> expectation, Function<T,​U> unwrapper)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `SingleSource<T>` | `apply​(Single<T> upstream)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ExpectationTransformer

          public ExpectationTransformer​(Expectation<U> expectation,
                                        Function<T,​U> unwrapper)

  - ### Method Detail

    - #### apply

          public SingleSource<T> apply​(Single<T> upstream)

      Specified by:
        `apply` in interface `SingleTransformer<T,​U>`