Interface Converters.Converter<S,​D>

  • Type Parameters:
    S - the source type
    D - the destination type
    Enclosing class:
    Converters

    public static interface Converters.Converter<S,​D>
    Converts source to destination.
    • Method Detail

      • convert

        D convert​(S source)
        Converts source to destination.
        Parameters:
        source - the source
        Returns:
        the destination