JavaCompilerCore/resources/AllgemeinTest/WildcardCaptureConversionTest.jav

16 lines
316 B
Plaintext
Raw Permalink Normal View History

import java.util.Vector;
import java.lang.Integer;
import java.lang.String;
class WildcardCaptureConversionTest {
m(x, y ,z) {
x = new Vector<Integer>();
y = new Vector<String>();
x.add(1);
y.add("2");
//Integer i = x.elementAt(0);
//String s = y.elementAt(0);
return z.vectorAddAll(x, y);
}
}