public class ArrayTypeUtils extends Object
Utilities for handling array types
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static int |
dimension(Class clazz)Calculate the dimension of array |
|
public static Class |
elementType(Class clazz)Get the type of array elements |
|
public static Class |
elementType(Class clazz, int dim)Get the type of array elements by the dimension |