public class Utils
extends java.lang.Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static <T1,T2> java.util.List<T2> |
convert(java.util.List<T1> l)
Converts a list of a given type T1 to a list of type T2.
|
static <T1,T2> void |
convert2(java.util.List<T1> l,
java.util.List<T2> out) |
public static <T1,T2> java.util.List<T2> convert(java.util.List<T1> l)
l - List containing the elements of type T1 that will be converted.public static <T1,T2> void convert2(java.util.List<T1> l,
java.util.List<T2> out)