override hashCode for Vector
add hashCode JavaDoc