updated the vector's javadoc