763 |
|
|
764 |
|
/** |
765 |
|
* transfer waits until a poll occurs. The transfered element |
766 |
< |
* is returned by this associated poll. |
766 |
> |
* is returned by the associated poll. |
767 |
|
*/ |
768 |
|
public void testTransfer2() throws InterruptedException { |
769 |
|
final LinkedTransferQueue<Integer> q = new LinkedTransferQueue<>(); |
841 |
|
|
842 |
|
/** |
843 |
|
* transfer waits until a take occurs. The transfered element |
844 |
< |
* is returned by this associated take. |
844 |
> |
* is returned by the associated take. |
845 |
|
*/ |
846 |
|
public void testTransfer5() throws InterruptedException { |
847 |
|
final LinkedTransferQueue<Integer> q = new LinkedTransferQueue<>(); |