-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface InterceptionFunction
A functional interface whose implementations represent an interception of some kind.- Author:
- Laird Nelson
- See Also:
apply(Object...)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
apply(Object... arguments)
Applies the interception represented by thisInterceptionFunction
, with the supplied arguments, and returns the result.
-
-
-
Method Detail
-
apply
Object apply(Object... arguments)
Applies the interception represented by thisInterceptionFunction
, with the supplied arguments, and returns the result.- Parameters:
arguments
- arguments to the interception; must not be anull
array- Returns:
- the result of the interception, which may be
null
- Throws:
NullPointerException
- ifarguments
is anull
array- See Also:
Interceptions
-
-