public class ObjectUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
equalsNullSafe(Object o1,
Object o2)
Compares the two objects.
|
static <T> T |
firstIfNotNull(T first,
T second) |
static org.apache.commons.collections.Predicate |
getIsSetPredicate() |
static boolean |
isNotEmpty(Object o) |
static boolean |
isValueSelected(Object selectValue) |
public static boolean isNotEmpty(Object o)
public static org.apache.commons.collections.Predicate getIsSetPredicate()
public static boolean isValueSelected(Object selectValue)
public static boolean equalsNullSafe(Object o1, Object o2)
o1
- object to compareo2
- object to comparepublic static <T> T firstIfNotNull(T first, T second)
Copyright © 2002-2017 Atlassian. All Rights Reserved.