Interface UnaryFunction<IN,​OUT>

    • Method Detail

      • identity

        static <T> UnaryFunction<T,​T> identity()
        Return identity function.
        Type Parameters:
        T - the type of input
        Returns:
        the identity function
      • apply

        OUT apply​(IN input)
        Apply function and return result.
        Parameters:
        input - input of the function
        Returns:
        result