mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 08:50:57 +07:00
12 lines
197 B
Java
12 lines
197 B
Java
public class C {
|
|
private int x;
|
|
|
|
public boolean equals(Object object) {
|
|
if (object instanceof C) {
|
|
if (((C)object).x == x) {
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
} |