mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
17 lines
334 B
Java
17 lines
334 B
Java
class Integer {
|
|
int i;
|
|
|
|
@Override
|
|
public boolean equals(Object o) {
|
|
if (this == o) return true;
|
|
if (o == null || getClass() != o.getClass()) return false;
|
|
|
|
final Integer integer = (Integer) o;
|
|
return i == integer.i;
|
|
}
|
|
|
|
@Override
|
|
public int hashCode() {
|
|
return i;
|
|
}
|
|
} |