Interface Converter<S,T>


public interface Converter<S,T>
Converter interface where implementation of this interface can convert one data type into another.
Since:
3.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(S source)
    Takes a potentially null source value and converts it into the potentially null target value
  • Method Details

    • convert

      @Nullable T convert(@Nullable S source)
      Takes a potentially null source value and converts it into the potentially null target value
      Parameters:
      source - the source value
      Returns:
      The target value