io.vertx.lang.rxjava

## Class TypeArg<T>

- java.lang.Object
- - io.vertx.lang.rxjava.TypeArg<T>

-     public class TypeArg<T>
      extends Object

  Author:
    Julien Viet

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `java.util.function.Function<T,Object>` | `unwrap`
    `java.util.function.Function<Object,Object>` | `wrap`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `TypeArg(java.util.function.Function<Object,Object> wrap, java.util.function.Function<T,Object> unwrap)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <U> TypeArg<U>` | `of(Class<U> type)`
    `static <T> TypeArg<T>` | `unknown()`
    `<X> X` | `unwrap(T o)`
    `T` | `wrap(Object o)`

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

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

- - ### Field Detail

    - #### wrap

          public final java.util.function.Function<Object,Object> wrap

    - #### unwrap

          public final java.util.function.Function<T,Object> unwrap

  - ### Constructor Detail

    - #### TypeArg

          public TypeArg(java.util.function.Function<Object,Object> wrap,
                         java.util.function.Function<T,Object> unwrap)

  - ### Method Detail

    - #### of

          public static <U> TypeArg<U> of(Class<U> type)

    - #### unknown

          public static <T> TypeArg<T> unknown()

    - #### wrap

          public T wrap(Object o)

    - #### unwrap

          public <X> X unwrap(T o)

Copyright © 2017. All rights reserved.