de.caff.generics

## Interface TwoWayTypeConverter<T,S>

- Type Parameters:
    `S` - source type
    `T` - target type
  All Superinterfaces:
    java.util.function.Function<S,T>, Function1<T,S>

      public interface TwoWayTypeConverter<T,S>
      extends Function1<T,S>

  Type converter which can convert between two types in both ways.
  Author:
    Rammi

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `S` | `convertBack(T object)` Convert an object of type T to an object of type S.

    - ### Methods inherited from interface de.caff.generics.function.Function1

      `after, andThen, applyNonNull, applyOrDefault, fallback, fallback, from, from, nonFragile, nonFragile, nonFragileX, partial, withFallback`

    - ### Methods inherited from interface java.util.function.Function

      `apply, compose, identity`

- - ### Method Detail

    - #### convertBack

          S convertBack(T object)

      Convert an object of type T to an object of type S.
      Parameters:
        `object` - object to convert
      Returns:
        converted object of type S