mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +07:00
17 lines
383 B
Java
17 lines
383 B
Java
class Simple {
|
|
private int simple = 1;
|
|
|
|
@Override
|
|
public boolean equals(Object p_o_r) {
|
|
if (this == p_o_r) return true;
|
|
if (p_o_r == null || getClass() != p_o_r.getClass()) return false;
|
|
|
|
final Simple l_that_v = (Simple) p_o_r;
|
|
return simple == l_that_v.simple;
|
|
}
|
|
|
|
@Override
|
|
public int hashCode() {
|
|
return simple;
|
|
}
|
|
} |