Index
All Classes and Interfaces|All Packages
A
- add(Vector) - Method in class tema1.Vector
-
Computes the sum of 2 vectors merging the second one in the first one example: Vector myVector = new Vector(1,2,3,4,5,6); Vector myVector2 = new Vector(10,12,13); myVector.add(myVector2) result: myVector now holds: 11,14,16,4,5,6 If the second vector has more elements then the first one, missing elements are merged EXCEPT IT DOESNT JUST DONT ADD A SMALLER VECTOR TO A BIGGER ONE OR UR CODE GONNA EXPLODE Ok it doesnt explode anymore, just ignores whatever is afterwards
All Classes and Interfaces|All Packages