mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
test++
This commit is contained in:
@@ -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() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user