JavaPatternMatching/resources/javFiles/MethodWildcardGen.jav

22 lines
228 B
Plaintext
Raw Normal View History

/*
class C<A>{
A f;
m(b, c){
c.f = b;
c.m(b, c);
}
}
*/
class C<X>{
X f;
m(b, c, d){
this.f = b;
this.f = c.f;
c.m2(d);
}
m2(a){
a.f = this.f;
}
}