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

Comparing jsr166/src/main/java/util/concurrent/ConcurrentLinkedDeque.java (file contents):
Revision 1.21 by jsr166, Sat Oct 16 16:48:01 2010 UTC vs.
Revision 1.22 by jsr166, Fri Nov 19 08:02:09 2010 UTC

# Line 9 | Line 9 | package java.util.concurrent;
9   import java.util.AbstractCollection;
10   import java.util.ArrayList;
11   import java.util.Collection;
12 import java.util.ConcurrentModificationException;
12   import java.util.Deque;
13   import java.util.Iterator;
14   import java.util.NoSuchElementException;
# Line 1231 | Line 1230 | public class ConcurrentLinkedDeque<E>
1230       * Returns an iterator over the elements in this deque in proper sequence.
1231       * The elements will be returned in order from first (head) to last (tail).
1232       *
1233 <     * <p>The returned {@code Iterator} is a "weakly consistent" iterator that
1233 >     * <p>The returned iterator is a "weakly consistent" iterator that
1234       * will never throw {@link java.util.ConcurrentModificationException
1235 <     * ConcurrentModificationException},
1236 <     * and guarantees to traverse elements as they existed upon
1237 <     * construction of the iterator, and may (but is not guaranteed to)
1238 <     * reflect any modifications subsequent to construction.
1235 >     * ConcurrentModificationException}, and guarantees to traverse
1236 >     * elements as they existed upon construction of the iterator, and
1237 >     * may (but is not guaranteed to) reflect any modifications
1238 >     * subsequent to construction.
1239       *
1240       * @return an iterator over the elements in this deque in proper sequence
1241       */
# Line 1249 | Line 1248 | public class ConcurrentLinkedDeque<E>
1248       * sequential order.  The elements will be returned in order from
1249       * last (tail) to first (head).
1250       *
1251 <     * <p>The returned {@code Iterator} is a "weakly consistent" iterator that
1251 >     * <p>The returned iterator is a "weakly consistent" iterator that
1252       * will never throw {@link java.util.ConcurrentModificationException
1253 <     * ConcurrentModificationException},
1254 <     * and guarantees to traverse elements as they existed upon
1255 <     * construction of the iterator, and may (but is not guaranteed to)
1256 <     * reflect any modifications subsequent to construction.
1253 >     * ConcurrentModificationException}, and guarantees to traverse
1254 >     * elements as they existed upon construction of the iterator, and
1255 >     * may (but is not guaranteed to) reflect any modifications
1256 >     * subsequent to construction.
1257       *
1258       * @return an iterator over the elements in this deque in reverse order
1259       */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines