400 |
|
} |
401 |
|
|
402 |
|
/** |
403 |
< |
* timed pool with zero timeout succeeds when non-empty, else times out |
403 |
> |
* timed poll with zero timeout succeeds when non-empty, else times out |
404 |
|
*/ |
405 |
|
public void testTimedPoll0() throws InterruptedException { |
406 |
|
PriorityBlockingQueue q = populatedQueue(SIZE); |
411 |
|
} |
412 |
|
|
413 |
|
/** |
414 |
< |
* timed pool with nonzero timeout succeeds when non-empty, else times out |
414 |
> |
* timed poll with nonzero timeout succeeds when non-empty, else times out |
415 |
|
*/ |
416 |
|
public void testTimedPoll() throws InterruptedException { |
417 |
|
PriorityBlockingQueue q = populatedQueue(SIZE); |