@Override
    public boolean equals(Object o1, Object o2) {
      // throws ClassCastException if not Object[]
      if (o1 == null) {
        return o2 == null;
      }
      if (!(o1 instanceof Object[]) || !(o2 instanceof Object[])) {
        return o1.equals(o2);
      }
      return Arrays.equals((Object[]) o1, (Object[]) o2);
    }
This implementation uses Arrays.equals(Object[]) as it hashing strategy.
geode-core/src/main/java/org/apache/geode/cache/query/internal/StructBag.java