package de.test; import java.util.Vector; import java.lang.Integer; import java.lang.Boolean; import de.test.mathStruc; import de.test.vectorAdd; public class mathStrucVector { public main() { Vector v1 = new Vector(); v1.addElement(2); v1.addElement(2); Vector v2 = new Vector(); v2.addElement(3); v2.addElement(3); vectorAdd va = new vectorAdd(); var ms; ms = new mathStruc<>(v1); var ms2; ms2 = new mathStruc<>(v2); var ms3; ms3 = ms.innerOp.apply(va.add).apply(ms2); return ms3; } }