T
- The type of the function input.R
- The type of the function output.@ConsumerType @FunctionalInterface public interface Function<T,R>
This is a functional interface and can be used as the assignment target for a lambda expression or method reference.
Modifier and Type | Method and Description |
---|---|
R |
apply(T t)
Applies this function to the specified argument.
|
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0