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

Comparing jsr166/src/main/java/util/PriorityQueue.java (file contents):
Revision 1.48 by jsr166, Sun Apr 11 04:50:24 2004 UTC vs.
Revision 1.49 by dl, Thu May 27 11:05:44 2004 UTC

# Line 325 | Line 325 | public class PriorityQueue<E> extends Ab
325          return offer(o);
326      }
327  
328 +    /**
329 +     * Removes a single instance of the specified element from this
330 +     * collection, if it is present.
331 +     */
332      public boolean remove(Object o) {
333          if (o == null)
334              return false;
# Line 456 | Line 460 | public class PriorityQueue<E> extends Ab
460      }
461  
462      /**
463 <     * Remove all elements from the priority queue.
463 >     * Removes all elements from the priority queue.
464 >     * The queue will be empty after this call returns.
465       */
466      public void clear() {
467          modCount++;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines