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 Detail

      • map

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