JavaCompilerCore/resources/insertGenerics/javFiles/TestTPHsAndGenerics.jav

13 lines
190 B
Java

class TPHsAndGenerics {
id = x -> x;
id2 (x) {
return id.apply(x);
}
m(a, b){
var c = m2(a,b);
return a;
}
m2(a, b){
return b;
}
}