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

Comparing jsr166/src/main/java/util/concurrent/DelayQueue.java (file contents):
Revision 1.27 by dl, Tue Jun 1 12:53:56 2004 UTC vs.
Revision 1.28 by dl, Wed Jun 2 23:49:07 2004 UTC

# Line 159 | Line 159 | public class DelayQueue<E extends Delaye
159       * <tt>timeout</tt> parameter
160       * @return the head of this queue, or <tt>null</tt> if the
161       * specified waiting time elapses before an element with
162 <     * an unexpired dealy is present.
162 >     * an unexpired delay is present.
163       * @throws InterruptedException if interrupted while waiting.
164       */
165      public E poll(long timeout, TimeUnit unit) throws InterruptedException {
# Line 345 | Line 345 | public class DelayQueue<E extends Delaye
345  
346      /**
347       * Removes a single instance of the specified element from this
348 <     * collection, if it is present.
348 >     * queue, if it is present.
349       */
350      public boolean remove(Object o) {
351          final ReentrantLock lock = this.lock;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines