Interface InterceptionFunction

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

A functional interface whose implementations represent an interception of some kind.
Author:
Laird Nelson
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(Object... arguments)
    Applies the interception represented by this InterceptionFunction, with the supplied arguments, and returns the result.
  • Method Details

    • apply

      Object apply(Object... arguments)
      Applies the interception represented by this InterceptionFunction, with the supplied arguments, and returns the result.
      Parameters:
      arguments - arguments to the interception; must not be a null array
      Returns:
      the result of the interception, which may be null
      Throws:
      NullPointerException - if arguments is a null array
      See Also: