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

Comparing jsr166/src/main/java/util/concurrent/SynchronousQueue.java (file contents):
Revision 1.39 by dl, Sun Jan 11 16:02:17 2004 UTC vs.
Revision 1.40 by dl, Tue Jan 20 04:35:02 2004 UTC

# Line 308 | Line 308 | public class SynchronousQueue<E> extends
308      /**
309       * Retrieves and removes the head of this queue, waiting if necessary
310       * for another thread to insert it.
311 +     * @throws InterruptedException if interrupted while waiting.
312       * @return the head of this queue
313       */
314      public E take() throws InterruptedException {
# Line 570 | Line 571 | public class SynchronousQueue<E> extends
571      /**
572       * Sets the zeroeth element of the specified array to <tt>null</tt>
573       * (if the array has non-zero length) and returns it.
574 +     * @param a the array
575       * @return the specified array
576       */
577      public <T> T[] toArray(T[] a) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines