T
R
@ConsumerType 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.
apply(T t)
R apply(T t)
t