Interface SerializableFunction<T,​R>

    • 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