309 |
|
} |
310 |
|
|
311 |
|
/** |
312 |
< |
* timed pool with zero timeout succeeds when non-empty, else times out |
312 |
> |
* timed poll with zero timeout succeeds when non-empty, else times out |
313 |
|
*/ |
314 |
|
public void testTimedPoll0() throws InterruptedException { |
315 |
|
LinkedTransferQueue<Integer> q = populatedQueue(SIZE); |
321 |
|
} |
322 |
|
|
323 |
|
/** |
324 |
< |
* timed pool with nonzero timeout succeeds when non-empty, else times out |
324 |
> |
* timed poll with nonzero timeout succeeds when non-empty, else times out |
325 |
|
*/ |
326 |
|
public void testTimedPoll() throws InterruptedException { |
327 |
|
LinkedTransferQueue<Integer> q = populatedQueue(SIZE); |