boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final Test test = (Test) o; if (d != null ? !d.equals(test.d) : test.d != null) return false; return true; }