boolean (Object o) { if (this == o) return true; if (!(o instanceof ResultWithLog)) return false; ResultWithLog<?> log = (ResultWithLog<?>)o; return Arrays.deepEquals(new Object[]{result}, new Object[]{log.result}); }