T - the type of input objects to the apply operationR - the type of result objects from the apply operation. May be the same type as <T>.public interface Function<T,R>
| Modifier and Type | Method | Description |
|---|---|---|
R |
apply(T t) |
Yield an appropriate result object for the input object.
|