647 |
|
} |
648 |
|
|
649 |
|
/** |
650 |
< |
* A deserialized serialized queue has same elements in same order |
650 |
> |
* A deserialized/reserialized queue has same elements in same order |
651 |
|
*/ |
652 |
|
public void testSerialization() throws Exception { |
653 |
|
Queue x = populatedQueue(SIZE); |
774 |
|
} |
775 |
|
|
776 |
|
/** |
777 |
< |
* transfer waits until a poll occurs. The transfered element |
777 |
> |
* transfer waits until a poll occurs. The transferred element |
778 |
|
* is returned by the associated poll. |
779 |
|
*/ |
780 |
|
public void testTransfer2() throws InterruptedException { |
855 |
|
} |
856 |
|
|
857 |
|
/** |
858 |
< |
* transfer waits until a take occurs. The transfered element |
858 |
> |
* transfer waits until a take occurs. The transferred element |
859 |
|
* is returned by the associated take. |
860 |
|
*/ |
861 |
|
public void testTransfer5() throws InterruptedException { |