View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.coding.equalshashcode;
2   
3   public class InputEqualsHashCode {
4       public boolean notEquals() {
5           return true;
6       }
7       
8       public boolean equals() {
9           return false;
10      }
11      
12      public boolean equals(Object o1) {
13          return false;
14      }
15      
16      private boolean equals(Object o1, Object o2) {
17          return false;
18      }
19      
20      private boolean equals(String s) {
21          return false;
22      }
23      
24      protected int notHashCode() {
25          return 1;
26      }
27      
28      public int hashCode() {
29          return 1;
30      }
31      
32      public int hashCode(Object o1) {
33          return 1;
34      }
35      
36      private int hashCode(Object o1, Object o2) {
37          return 1;
38      }
39  }