mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
15 lines
334 B
Java
15 lines
334 B
Java
abstract class SuperTest {
|
|
public abstract boolean equals(Object object);
|
|
}
|
|
class Test extends SuperTest {
|
|
public boolean equals(Object o) {
|
|
if (this == o) return true;
|
|
if (o == null || getClass() != o.getClass()) return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return 0;
|
|
}
|
|
} |