public class CommonsHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static Object[] |
getCollectionValues(Object inputValue) |
static <T,R> PropertyInfo |
getPropertyInfo(GetPropertyFunction<T,R> fn) |
static <T,R> String |
getPropertyName(GetPropertyFunction<T,R> fn) |
static boolean |
isArray(Object value) |
static boolean |
isArrayOrCollection(Object value) |
static boolean |
isCollection(Object value) |
static boolean |
isNumeric(Class targetClass) |
static String |
toStringSafe(Object obj) |
public static boolean isNumeric(Class targetClass)
public static boolean isArrayOrCollection(Object value)
public static boolean isArray(Object value)
public static boolean isCollection(Object value)
public static <T,R> String getPropertyName(GetPropertyFunction<T,R> fn)
public static <T,R> PropertyInfo getPropertyInfo(GetPropertyFunction<T,R> fn)
Copyright © 2021 wz2cool. All rights reserved.