Interface ForwardCollectionTransformer<FROM,TO>
-
- Type Parameters:
FROM
- FROM which should be transformed to TOTO
- TO which is transformed from FROM
- All Known Subinterfaces:
Transformer<FROM,TO>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ForwardCollectionTransformer<FROM,TO>
Generic interface for a unidirectional Transformer between collection of a class to collection of another
- Since:
- 2.0
- Author:
- Christoph Praschl
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<TO>
transformFromCollection(Collection<FROM> collection)
Transforms a Collection of FROM to a Collection of TO
-
-
-
Method Detail
-
transformFromCollection
Collection<TO> transformFromCollection(Collection<FROM> collection)
Transforms a Collection of FROM to a Collection of TO- Parameters:
collection
- the collection to be transformed- Returns:
- the resulting collection
-
-