Interface Function<R,​A>

  • Type Parameters:
    T - the result type of eval(Object...)
    All Known Implementing Classes:

    public interface Function<R,​A>
    Generic function interface to perform an action w/ given optional arguments producing an optional result.

    For void functions, simply use type Object and ignore the result and/or arguments.

    • Method Detail

      • eval

        R eval​(A... args)
        Implementation may compute variable args list and returns a result.
        args - variable argument list, A[], maybe null
        the result.