Package org.osgi.util.function
Interface Function<T,R>
- Type Parameters:
T
- The type of the function input.R
- The type of the function output.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A function that accepts a single argument and produces a result.
This is a functional interface and can be used as the assignment target for a lambda expression or method reference.
-
Method Summary
-
Method Details
-
apply
Applies this function to the specified argument.- Parameters:
t
- The input to this function.- Returns:
- The output of this function.
- Throws:
Exception
- An exception thrown by the method.
-