Package 

Interface Function


  • 
    public interface Function<T, R>
    
                        

    Represents a function that accepts one argument and produces a result.

    • Method Summary

      Modifier and Type Method Description
      abstract R apply(T t) Applies this function to the given argument.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • apply

         abstract R apply(T t)

        Applies this function to the given argument.

        Parameters:
        t - the function argument