ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/Vector.java
(Generate patch)

Comparing jsr166/src/main/java/util/Vector.java (file contents):
Revision 1.24 by jsr166, Sun May 18 23:59:57 2008 UTC vs.
Revision 1.25 by jsr166, Mon May 19 00:28:21 2008 UTC

# Line 64 | Line 64 | package java.util;
64   *
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
67 < * <a href="{@docRoot}/../technotes/guides/collections/index.html"> Java
68 < * Collections Framework</a>.  Unlike the new collection
69 < * implementations, {@code Vector} is synchronized.
67 > * <a href="{@docRoot}/../technotes/guides/collections/index.html">
68 > * Java Collections Framework</a>.  Unlike the new collection
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}.
72   *
73   * @author  Lee Boynton
74   * @author  Jonathan Payne
75   * @see Collection
74 * @see List
75 * @see ArrayList
76   * @see LinkedList
77   * @since   JDK1.0
78   */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines