Interface Function<T,​R>

  • Type Parameters:
    T - T
    R - R

    public interface Function<T,​R>
    Java6 compatibility.
    • Method Detail

      • apply

        R apply​(T t)
        Applies this function to the given argument.
        Parameters:
        t - the function argument
        Returns:
        the function result