As of the Java 2 platform v1.2, this class has been retrofitted to implement List, so that it becomes a part of Java's collection framework. Unlike the new collection implementations, Vector is synchronized.
Javadoc fuer Vector
"This class is roughly equivalent to Vector, except that it is unsynchronized."
Javadoc fuer ArrayList
abgesehen davon hat Vector das "alte" interface (enumerations, elementAt), ArrayList das neue (iterators, get).
____________________________________
Whoever built humanity left in a major design flaw: it was the tendency to bend at the knees.
|