Package de.hybris.platform.converters
Class Converters
- java.lang.Object
-
- de.hybris.platform.converters.Converters
-
public final class Converters extends java.lang.ObjectHelper class for converters
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <SOURCE,TARGET>
java.util.List<TARGET>convertAll(java.util.Collection<? extends SOURCE> sourceList, Converter<SOURCE,TARGET> converter)Convert all the items in the source list using a converter.
-
-
-
Method Detail
-
convertAll
public static <SOURCE,TARGET> java.util.List<TARGET> convertAll(java.util.Collection<? extends SOURCE> sourceList, Converter<SOURCE,TARGET> converter)Convert all the items in the source list using a converter.- Type Parameters:
SOURCE- The type of the source objects.TARGET- The type of the converted objects.- Parameters:
sourceList- The source list of objects to convert.converter- The converter to use to convert the source objects.- Returns:
- The list of converted objects.
- See Also:
Converter.convertAll(Collection),Converter.convertAllIgnoreExceptions(Collection)
-
-