2015-04-22 19:40:22 +00:00
|
|
|
import de.dhbwstuttgart.typeinference.Menge;
|
2013-10-18 11:33:46 +00:00
|
|
|
|
|
|
|
public class Boxing {
|
|
|
|
|
|
|
|
public BoxingTest() {
|
|
|
|
a;
|
|
|
|
a= new Integer(12);
|
|
|
|
|
|
|
|
v;
|
2015-04-22 19:40:22 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|