forked from JavaTX/JavaCompilerCore
Merge branch 'bigRefactoring' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bigRefactoring
This commit is contained in:
commit
2e4cd0384f
@ -5,6 +5,7 @@ import java.lang.Integer;
|
|||||||
public class VectorAdd {
|
public class VectorAdd {
|
||||||
vectorAdd(v1, v2) {
|
vectorAdd(v1, v2) {
|
||||||
var i = 0;
|
var i = 0;
|
||||||
|
v1 = new Vector<Integer>();
|
||||||
var erg = new Vector<>();
|
var erg = new Vector<>();
|
||||||
while (i < v1.size()) {
|
while (i < v1.size()) {
|
||||||
erg.addElement(v1.elementAt(i) + v2.elementAt(i));
|
erg.addElement(v1.elementAt(i) + v2.elementAt(i));
|
||||||
|
Loading…
Reference in New Issue
Block a user