org.omnaest.utils.structure.element.converter
Interface ElementConverterOneToMany<FROM,TO>
- All Superinterfaces:
- ElementConverter<FROM,Collection<TO>>, ElementConverterSerializable<FROM,Collection<TO>>, Serializable
public interface ElementConverterOneToMany<FROM,TO>
- extends ElementConverterSerializable<FROM,Collection<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:
ElementConverter,
ListUtils.convert(Collection, ElementConverterOneToMany)
|
Method Summary |
Collection<TO> |
convert(FROM element)
Transforms a single element from one type into an (ordered) list of the other types. |
convert
Collection<TO> convert(FROM element)
- Transforms a single element from one type into an (ordered) list of the other types.
- Specified by:
convert in interface ElementConverter<FROM,Collection<TO>>
- Parameters:
element -
- Returns:
- converted element
Copyright © 2013. All Rights Reserved.