JavaTXCompilerInJavaTX/examples/pl_usecases/UsecaseSeven_pl.jav

18 lines
240 B
Java
Executable File

import de.dhbwstuttgart.typeinference.Menge;
class UsecaseSeven_pl<A> {
foo(bar){
bar = true;
return 1;
}
foo1(a) {
c;
c = new Menge<Integer>();
b;
b = new UsecaseSeven_pl<A>();
return c.addElement(a);
}
}