public class CollectionUtils extends Object
| Constructor and Description |
|---|
CollectionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <S,T> Collection<T> |
convert(Collection<S> collection,
Converter<S,T> stConverter,
Config config,
Provider converterProvider) |
static <T> Collection<T> |
copyCollection(Collection<T> input,
Config config) |
static <T> T |
copyObject(T input,
Class _class,
Config config) |
static <T> T |
firstElementFromCollection(Collection<T> in) |
static boolean |
isEmpty(Collection collection) |
public static <T> T firstElementFromCollection(Collection<T> in)
public static boolean isEmpty(Collection collection)
public static <T> Collection<T> copyCollection(Collection<T> input, Config config)
public static <S,T> Collection<T> convert(Collection<S> collection, Converter<S,T> stConverter, Config config, Provider converterProvider) throws OpenRtbConverterException
OpenRtbConverterExceptionCopyright © 2019. All rights reserved.