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

Comparing jsr166/src/main/java/util/concurrent/CopyOnWriteArrayList.java (file contents):
Revision 1.15 by dl, Sat Sep 13 18:51:11 2003 UTC vs.
Revision 1.16 by dl, Fri Sep 26 11:37:10 2003 UTC

# Line 137 | Line 137 | public class CopyOnWriteArrayList<E>
137      }
138  
139      /**
140 <     * Searches for the first occurence of the given argument, testing
140 >     * Searches for the first occurrence of the given argument, testing
141       * for equality using the <tt>equals</tt> method.
142       *
143       * @param   elem   an object.
# Line 169 | Line 169 | public class CopyOnWriteArrayList<E>
169      }
170  
171      /**
172 <     * Searches for the first occurence of the given argument, beginning
172 >     * Searches for the first occurrence of the given argument, beginning
173       * the search at <tt>index</tt>, and testing for equality using
174       * the <tt>equals</tt> method.
175       *
# Line 961 | Line 961 | public class CopyOnWriteArrayList<E>
961       * inclusive, and toIndex, exclusive.  The returned List is backed by this
962       * List, so changes in the returned List are reflected in this List, and
963       * vice-versa.  While mutative operations are supported, they are
964 <     * probably not very useful for CopyOnWriteArrays.
964 >     * probably not very useful for CopyOnWriteArrayLists.
965       * <p>
966       * The semantics of the List returned by this method become undefined if
967       * the backing list (i.e., this List) is <i>structurally modified</i> in

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines