org.omnaest.utils.structure.collection
Interface ListUtils.MultiElementTransformer<FROM,TO>
- Enclosing class:
- ListUtils
public static interface ListUtils.MultiElementTransformer<FROM,TO>
The provides the transformation method to transform one generic Collection instance into one or multiple elements of
other type. The resulting list will be merged to a ordered list by a transformation process, so the order will be kept.
- See Also:
ListUtils.ElementTransformer,
ListUtils.transform(Collection, MultiElementTransformer, boolean)
transformElement
Collection<TO> transformElement(FROM element)
- Transforms a single element from one type into an (ordered) list of the other types.
- Parameters:
element -
- Returns:
- converted element
Copyright © 2011. All Rights Reserved.