public class AttributeUtils extends Object
| Constructor and Description |
|---|
AttributeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Integer |
compare(Object a,
Object b)
Compares the two elements like
Comparator.compare(Object, Object) but returns
null in case the two elements are not comparable. |
static boolean |
isDecimal(Class<?> clazz) |
static boolean |
isGeo(Class<?> clazz) |
static boolean |
isString(Class<?> clazz) |
static boolean |
isString(Object o) |
static boolean |
isWholeNumber(Class<?> clazz) |
static boolean |
isWholeNumber(Number n) |
public static boolean isWholeNumber(Number n)
public static boolean isWholeNumber(Class<?> clazz)
public static boolean isDecimal(Class<?> clazz)
public static boolean isString(Object o)
public static boolean isString(Class<?> clazz)
public static boolean isGeo(Class<?> clazz)
public static Integer compare(Object a, Object b)
Comparator.compare(Object, Object) but returns
null in case the two elements are not comparable.a - b - Copyright © 2012–2024. All rights reserved.