JavaTXCompilerInJavaTXNoMaven/resources-back/insertGenerics/javFiles/TestTwoArgs.jav
2024-05-02 23:04:07 +02:00

30 lines
426 B
Java

public class TestTwoArgs //<T extends AS, AS extends Z, Z extends AN, AN extends AG, AG>
{
//AS
a;
//AN -> AN
id(b) {
var c = b;
return c;
}
//T -> AS
setA(x) {
a = x;
return a;
}
//(AG,Z) -> AG
m(x,y) {
x = id(y);
return x;
}
//<AI extends AN, AH extends T> (AI, AH) -> AG
main(x,y) {
return m(id(x),setA(y));
}
}