public class ArrayAdaptorUtils
extends java.lang.Object
Constructor and Description |
---|
ArrayAdaptorUtils() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
convertAllArrayListsToArrays(T obj) |
static java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getAllMaps(java.lang.Object obj)
Retrieves any Map fields in a given object hierarchy.
|
static boolean |
hasMapFields(java.lang.Object obj)
Determines if any Map fields exist in a given object hierarchy.
|
public static <T> T convertAllArrayListsToArrays(T obj)
public static boolean hasMapFields(java.lang.Object obj)
obj
- an Object, Array, Iterable or Mappublic static java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getAllMaps(java.lang.Object obj)
obj
- an Object, Array, Iterable or Map