Interface Function<I,​O>

  • Type Parameters:
    I - Type of the input.
    O - Type of the output.
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface Function<I,​O>
    The type representing a function that accept one input and produces a result.
    • Method Detail

      • call

        O call​(I input)
        Invokes the function.
        input - The input.
        The output.