313 |
|
} |
314 |
|
|
315 |
|
/** |
316 |
< |
* Adds the specified element to this queue, waiting if necessary |
316 |
> |
* Inserts the specified element into this queue, waiting if necessary |
317 |
|
* up to the specified wait time for another thread to receive it. |
318 |
|
* @param o the element to add |
319 |
|
* @param timeout how long to wait before giving up, in units of |
358 |
|
// Untimed nonblocking versions |
359 |
|
|
360 |
|
/** |
361 |
< |
* Adds the specified element to this queue, if another thread is |
361 |
> |
* Inserts the specified element into this queue, if another thread is |
362 |
|
* waiting to receive it. |
363 |
|
* |
364 |
|
* @param o the element to add. |