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

Comparing jsr166/src/main/java/util/concurrent/PriorityBlockingQueue.java (file contents):
Revision 1.22 by dl, Fri Sep 12 15:40:10 2003 UTC vs.
Revision 1.23 by dl, Sat Sep 13 18:51:11 2003 UTC

# Line 17 | Line 17 | import java.util.*;
17   * attempted additions may fail due to resource exhaustion (causing
18   * <tt>OutOfMemoryError</tt>).
19   *
20 + * <p>This class implements all of the <em>optional</em> methods
21 + * of the {@link Collection} and {@link Iterator} interfaces.
22   * <p>The Iterator provided in method {@link #iterator()} is
23   * <em>not</em> guaranteed to traverse the elements of the
24   * PriorityBlockingQueue in any particular order. If you need ordered
# Line 337 | Line 339 | public class PriorityBlockingQueue<E> ex
339      }
340  
341      /**
342 <     * Returns an iterator over the elements in this queue. The iterator
343 <     * does not return the elements in any particular order.
344 <     * The
345 <     * returned iterator is a "fast-fail" iterator that will
346 <     * throw {@link java.util.ConcurrentModificationException}
347 <     * upon detected interference.    
342 >     * Returns an iterator over the elements in this queue. The
343 >     * iterator does not return the elements in any particular order.
344 >     * The returned iterator is a thread-safe "fast-fail" iterator
345 >     * that will throw {@link
346 >     * java.util.ConcurrentModificationException} upon detected
347 >     * interference.
348       *
349       * @return an iterator over the elements in this queue.
350       */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines