Interface Conversion<T,​R>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      R apply​(T object)
      Has to implement the conversion logic to convert the given object into an object of type R.
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Method Detail

      • apply

        R apply​(T object)
        Has to implement the conversion logic to convert the given object into an object of type R.
        Specified by:
        apply in interface java.util.function.Function<T,​R>
        Parameters:
        object - the object to convert
        Returns:
        an object of the correct return type.