(Object o)
| 72 | } |
| 73 | |
| 74 | @Override |
| 75 | public boolean equals(Object o) { |
| 76 | if (this == o) return true; |
| 77 | if (o == null || getClass() != o.getClass()) return false; |
| 78 | |
| 79 | Problem that = (Problem) o; |
| 80 | |
| 81 | if (contestName != null ? !contestName.equals(that.contestName) : that.contestName != null) return false; |
| 82 | if (className != null ? !className.equals(that.className) : that.className != null) return false; |
| 83 | if (methodName != null ? !methodName.equals(that.methodName) : that.methodName != null) return false; |
| 84 | if (!Arrays.equals(paramNames, that.paramNames)) return false; |
| 85 | if (!Arrays.equals(paramTypes, that.paramTypes)) return false; |
| 86 | if (returnType != null ? !returnType.equals(that.returnType) : that.returnType != null) return false; |
| 87 | //noinspection RedundantIfStatement |
| 88 | if (!Arrays.equals(testCases, that.testCases)) return false; |
| 89 | |
| 90 | return true; |
| 91 | } |
| 92 | |
| 93 | @Override |
| 94 | public int hashCode() { |
no outgoing calls