public final class Converters
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <SOURCE,TARGET> |
convertAll(java.util.Collection<? extends SOURCE> sourceList,
Converter<SOURCE,TARGET> converter)
Convert all the items in the source list using a converter.
|
public static <SOURCE,TARGET> java.util.List<TARGET> convertAll(java.util.Collection<? extends SOURCE> sourceList,
Converter<SOURCE,TARGET> converter)
SOURCE - The type of the source objects.TARGET - The type of the converted objects.sourceList - The source list of objects to convert.converter - The converter to use to convert the source objects.Converter.convertAll(Collection),
Converter.convertAllIgnoreExceptions(Collection)Copyright © 2018 SAP SE. All Rights Reserved.