Mappers instead@Deprecated public class Converters extends Object
| Constructor and Description |
|---|
Converters()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static <I,O> List<O> |
convertList(List<I> inputList,
Converter<I,O> converter)
Deprecated.
Converts all objects in the given list and returns a list that contains
the converted objects in the same order as the input objects in the
original list.
|
static <I,O> Set<O> |
convertSet(Set<I> inputSet,
Converter<I,O> converter)
Deprecated.
Converts all objects in the given list and returns a list that contains
the converted objects.
|
public static <I,O> List<O> convertList(List<I> inputList, Converter<I,O> converter)
I - The type of the input objectsO - The type of the output objectsinputList - The list with the input objectconverter - The converter to usepublic static <I,O> Set<O> convertSet(Set<I> inputSet, Converter<I,O> converter)
I - The type of the input objectsO - The type of the output objectsinputSet - The set with the input objectconverter - The converter to useCopyright © 2026. All rights reserved.