You are aware that Vector is an "old" class that normally should not be used anymore in new code? In most cases, when you need a vector-style class, a List (ArrayList) is a better option. An obvious exception is of course when you have old code that still uses a Vector.
I am Arthur, King of the Britons. And this is a tiny ad: