Interface SerializableFunction<T,​R>

    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static <T> SerializableFunction<T,​T> identity()
      Returns a function that always returns its input argument.
      • Methods inherited from interface java.util.function.Function

        andThen, apply, compose
    • Method Detail

      • identity

        static <T> SerializableFunction<T,​T> identity()
        Returns a function that always returns its input argument.
        Type Parameters:
        T - the type of the input and output objects to the function
        Returns:
        a function that always returns its input argument