public static boolean objectEquals(Object o1, Object o2) {
    if (o1 == o2) {
      return true;
    }
    if (o1 == null) {
      return false;
    }
    return o1.equals(o2);
  }
Check if two objects, possibly null, are equal. Doesn't really belong to this class...
geode-core/src/main/java/org/apache/geode/internal/util/ArrayUtils.java