Class IdentityFunction<T>

    • Constructor Detail

      • IdentityFunction

        public IdentityFunction()
    • Method Detail

      • apply

        public T apply​(T input)
        Description copied from interface: Function
        Applies this function to the given argument.
        Specified by:
        apply in interface Function<T,​T>
        Parameters:
        input - the input to the function
        Returns:
        the function result