equal
deleted
inserted
replaced
62 * exception for its correctness: <i>the fail-fast behavior of iterators |
62 * exception for its correctness: <i>the fail-fast behavior of iterators |
63 * should be used only to detect bugs.</i> |
63 * should be used only to detect bugs.</i> |
64 * |
64 * |
65 * <p>As of the Java 2 platform v1.2, this class was retrofitted to |
65 * <p>As of the Java 2 platform v1.2, this class was retrofitted to |
66 * implement the {@link List} interface, making it a member of the |
66 * implement the {@link List} interface, making it a member of the |
67 * <a href="{@docRoot}/../technotes/guides/collections/index.html"> Java |
67 * <a href="{@docRoot}/../technotes/guides/collections/index.html"> |
68 * Collections Framework</a>. Unlike the new collection |
68 * Java Collections Framework</a>. Unlike the new collection |
69 * implementations, {@code Vector} is synchronized. |
69 * implementations, {@code Vector} is synchronized. If a thread-safe |
|
70 * implementation is not needed, it is recommended to use {@link |
|
71 * ArrayList} in place of {@code Vector}. |
70 * |
72 * |
71 * @author Lee Boynton |
73 * @author Lee Boynton |
72 * @author Jonathan Payne |
74 * @author Jonathan Payne |
73 * @see Collection |
75 * @see Collection |
74 * @see List |
|
75 * @see ArrayList |
|
76 * @see LinkedList |
76 * @see LinkedList |
77 * @since JDK1.0 |
77 * @since JDK1.0 |
78 */ |
78 */ |
79 public class Vector<E> |
79 public class Vector<E> |
80 extends AbstractList<E> |
80 extends AbstractList<E> |