[cvs] / jsr166 / src / main / java / util / PriorityQueue.java Repository:
ViewVC logotype

Diff of /jsr166/src/main/java/util/PriorityQueue.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.48, Sun Apr 11 04:50:24 2004 UTC revision 1.49, Thu May 27 11:05:44 2004 UTC
# Line 325  Line 325 
325          return offer(o);          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) {      public boolean remove(Object o) {
333          if (o == null)          if (o == null)
334              return false;              return false;
# Line 456  Line 460 
460      }      }
461    
462      /**      /**
463       * Remove all elements from the priority queue.       * Removes all elements from the priority queue.
464         * The queue will be empty after this call returns.
465       */       */
466      public void clear() {      public void clear() {
467          modCount++;          modCount++;

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8