mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-24 14:26:37 +07:00
21 lines
267 B
Java
21 lines
267 B
Java
interface Int<T> {
|
|
void method(T x);
|
|
}
|
|
|
|
class Sub implements Int<Xint> {
|
|
public void method(Xint x) {
|
|
x.inInt();
|
|
}
|
|
}
|
|
|
|
interface Xint {
|
|
void inInt();
|
|
}
|
|
|
|
class Xyz implements Xint {
|
|
public void inInt() {
|
|
}
|
|
|
|
public void m1() {
|
|
}
|
|
} |