public class CollectionUtil extends Object
| Constructor and Description |
|---|
CollectionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Type |
getComponentType(Type collectionType) |
static Collection<Object> |
newCollection(Class<?> targetClass,
int length) |
public CollectionUtil()
public static Type getComponentType(Type collectionType)
public static Collection<Object> newCollection(Class<?> targetClass, int length) throws InstantiationException, IllegalAccessException