java.util.Vector – alternatives

You should use ArrayList instead of Vector. Vector used internal synchronisation, but that is rarely good enough for actual consistency, and only slows down execution when it is not really needed.

Also see this stackoverflow question.

Leave a Comment