public class


extends Object
   ↳ com.atlassian.jira.util.ObjectUtils


Public Methods
static boolean equalsNullSafe(Object o1, Object o2)
Compares the two objects.
static <T> T firstIfNotNull(T first, T second)
static Predicate getIsSetPredicate()
static boolean isNotEmpty(Object o)
static boolean isValueSelected(Object selectValue)
Inherited Methods
From class java.lang.Object

Public Methods

public static boolean equalsNullSafe (Object o1, Object o2)

Compares the two objects. Returns true if both are null references or both are not not null and equal.

o1 object to compare
o2 object to compare
  • true if equal or both null, false otherwise

public static T firstIfNotNull (T first, T second)

public static Predicate getIsSetPredicate ()

public static boolean isNotEmpty (Object o)

public static boolean isValueSelected (Object selectValue)