mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 22:20:54 +07:00
13 lines
297 B
Java
13 lines
297 B
Java
abstract class SuperTest {
|
|
public abstract boolean equals(Object object);
|
|
}
|
|
class Test extends SuperTest {
|
|
public boolean equals(Object o) {
|
|
if (o == null || getClass() != o.getClass()) return false;
|
|
return true;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return 0;
|
|
}
|
|
} |