This commit is contained in:
Dmitry Jemerov
2009-09-11 18:19:26 +04:00
parent 76d6570d33
commit d75bc69d5a
113 changed files with 5 additions and 0 deletions
@@ -0,0 +1,21 @@
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() {
}
}
@@ -0,0 +1,21 @@
interface Int<T> {
void method(T x);
}
class Sub implements Int<Xyz> {
public void method(Xyz x) {
x.inInt();
}
}
interface Xint {
void inInt();
}
class Xyz implements Xint {
public void inInt() {
}
public void m1() {
}
}