Interface BackwardCollectionTransformer<FROM,TO>
-
- Type Parameters:
FROM
- TO which should be transformed to FROMTO
- FROM which is transformed from TO
- 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 BackwardCollectionTransformer<FROM,TO>
Generic interface for a reversed unidirectional Transformer between a 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<FROM>
transformToCollection(Collection<TO> collection)
Transforms a Collection of TO to a Collection of FROM
-
-
-
Method Detail
-
transformToCollection
Collection<FROM> transformToCollection(Collection<TO> collection)
Transforms a Collection of TO to a Collection of FROM- Parameters:
collection
- the collection to be transformed- Returns:
- the resulting collection
-
-