Modifier and Type | Field and Description |
---|---|
protected static Method |
hibernateGetClassMethod |
Constructor and Description |
---|
ObjectUtils() |
Modifier and Type | Method and Description |
---|---|
static org.apache.commons.collections.Predicate |
getIsSetPredicate()
Returns a predicate for
isNotEmpty(Object) |
static Class |
getTrueClass(Object o)
Gets the true class of an object, trying to use Hibernate's proxy unwrapping tools if available on the classpath.
|
static boolean |
isDifferent(Object a,
Object b) |
static boolean |
isIdentical(Object a,
Object b) |
static boolean |
isNotEmpty(Object o)
Similar to
StringUtils.isNotEmpty(java.lang.String) but accepts a Sttring. |
protected static Method hibernateGetClassMethod
public static boolean isIdentical(Object a, Object b)
public static boolean isDifferent(Object a, Object b)
public static boolean isNotEmpty(Object o)
StringUtils.isNotEmpty(java.lang.String)
but accepts a Sttring. Type safeo
- public static org.apache.commons.collections.Predicate getIsSetPredicate()
isNotEmpty(Object)
public static Class getTrueClass(Object o)
o
- The object to examineCopyright © 2003–2017 Atlassian. All rights reserved.