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.23 by jsr166, Sun May 18 23:47:56 2008 UTC vs.
Revision 1.26 by jsr166, Wed Jul 22 00:00:07 2009 UTC

# Line 1 | Line 1
1   /*
2 < * Copyright 1994-2007 Sun Microsystems, Inc.  All Rights Reserved.
2 > * Copyright 1994-2008 Sun Microsystems, Inc.  All Rights Reserved.
3   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4   *
5   * This code is free software; you can redistribute it and/or modify it
# 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
73 * @version %I%, %G%
75   * @see Collection
75 * @see List
76 * @see ArrayList
76   * @see LinkedList
77   * @since   JDK1.0
78   */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines