Java Utililty Methods Object Equal

List of utility methods to do Object Equal

Description

The list of methods to do Object Equal are organized into topic(s).

Method

booleansafeEquals(Object o1, Object o2)
Determine if the given objects are equal, returning true if both are null or false if only one is null.
if (o1 == null || o2 == null) {
    return false;
if (o1 == o2) {
    return true;
if (o1.equals(o2)) {
    return true;
...