Package com.mongodb
Interface Function<T,R>
-
- Type Parameters:
T
- the type of input objects to theapply
operationR
- the type of result objects from theapply
operation. May be the same type as<T>
.
@Deprecated(since="2021-05-27") public interface Function<T,R>
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.Apply a function to the input object yielding an appropriate result object. A function may variously provide a mapping between types, object instances or keys and values or any other form of transformation upon the input.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description R
apply(T t)
Deprecated.Yield an appropriate result object for the input object.
-