Interface Mapper<T,U>

Type Parameters:
T - Input type.
U - Output type.

public interface Mapper<T,U>
Mapper interface. Define a transformation between an input of type T to an output of type U.
  • Method Summary

    Modifier and Type
    Method
    Description
    map(T input)
    Map input to given output.
  • Method Details

    • map

      U map(T input)
      Map input to given output.
      Parameters:
      input - Input.
      Returns:
      Output.