JavaCompilerCore/examples/scju/Boxing.jav

26 lines
269 B
Plaintext
Raw Normal View History

import de.dhbwstuttgart.typeinference.Menge;
2013-10-18 11:33:46 +00:00
public class Boxing {
public BoxingTest() {
a;
a= new Integer(12);
v;
v = new Menge<Integer>();
2013-10-18 11:33:46 +00:00
v.addElement(a);
b;
b = 0;
c;
c = v.elementAt(b);
v.addElement(c);
return v;
}
}