Interface ContainerDataCollector<C,P,R>
- Type Parameters:
C
- The type of the container from which data is collected.P
- The type of the target in the source from which data is collected.R
- The type of the data returned after collection.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for collecting data from a container.
-
Method Summary
-
Method Details
-
apply
Applies this function to the given arguments.- Parameters:
container
- The container from which data is collected.target
- The target in the source from which data is collected.- Returns:
- The data collected from the container.
-