427 |
|
} |
428 |
|
|
429 |
|
/** |
430 |
< |
* timed pool with zero timeout succeeds when non-empty, else times out |
430 |
> |
* timed poll with zero timeout succeeds when non-empty, else times out |
431 |
|
*/ |
432 |
|
public void testTimedPoll0() throws InterruptedException { |
433 |
|
ArrayBlockingQueue q = populatedQueue(SIZE); |
438 |
|
} |
439 |
|
|
440 |
|
/** |
441 |
< |
* timed pool with nonzero timeout succeeds when non-empty, else times out |
441 |
> |
* timed poll with nonzero timeout succeeds when non-empty, else times out |
442 |
|
*/ |
443 |
|
public void testTimedPoll() throws InterruptedException { |
444 |
|
ArrayBlockingQueue q = populatedQueue(SIZE); |