aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/com/puppycrawl/tools/checkstyle/checks/coding/InputEqualsHashCode.java
blob: 25b9b0e8d38f7150bebd3ee247a7b519b257389a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com.puppycrawl.tools.checkstyle.checks.coding;

public class InputEqualsHashCode {
    public boolean notEquals() {
        return true;
    }
    
    public boolean equals() {
        return false;
    }
    
    public boolean equals(Object o1) {
        return false;
    }
    
    private boolean equals(Object o1, Object o2) {
        return false;
    }
    
    protected int notHashCode() {
        return 1;
    }
    
    public int hashCode() {
        return 1;
    }
    
    public int hashCode(Object o1) {
        return 1;
    }
    
    private int hashCode(Object o1, Object o2) {
        return 1;
    }
}