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.
@ConsumerType public interface Function<T,R>
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.
- Author:
- $Id: 5d812f75c0b4f88f01083189babb3ef7476b5ced $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
apply(T t)
Applies this function to the specified argument.
-