ObjectUtils.nullSafeEquals

Determine if the given objects are equal, returning {@code true} if both are {@code null} or {@code false} if only one is {@code null}. <p>Compares arrays with {@code Arrays.equals}, performing an equality check based on the array elements rather than the array reference. @param o1 first Object to compare @param o2 second Object to compare @return whether the given objects are equal @see Object#equals(Object) @see java.util.Arrays#equals

class ObjectUtils
static
bool
nullSafeEquals
(
Object o1
,
Object o2
)

Meta