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 TypeMethodDescriptionApplies the interception represented by thisInterceptionFunction, with the supplied arguments, and returns the result.
-
Method Details
-
apply
Applies the interception represented by thisInterceptionFunction, with the supplied arguments, and returns the result.- Parameters:
arguments- arguments to the interception; must not be anullarray- Returns:
- the result of the interception, which may be
null - Throws:
NullPointerException- ifargumentsis anullarray- See Also:
-