change parameter names in Vector.java

change the parameter names consistent with comments.