43 |
|
} |
44 |
|
|
45 |
|
/** |
46 |
< |
* Initializing from null Collection throws NPE |
46 |
> |
* Initializing from null Collection throws NPE |
47 |
|
*/ |
48 |
|
public void testConstructor3() { |
49 |
|
try { |
265 |
|
} |
266 |
|
|
267 |
|
/** |
268 |
< |
* remove removes next element, or throws NSEE if empty |
268 |
> |
* remove removes next element, or throws NSEE if empty |
269 |
|
*/ |
270 |
|
public void testRemove() { |
271 |
|
ConcurrentLinkedQueue q = populatedQueue(SIZE); |
380 |
|
} |
381 |
|
|
382 |
|
/** |
383 |
< |
* toArray(a) contains all elements |
383 |
> |
* toArray(a) contains all elements |
384 |
|
*/ |
385 |
|
public void testToArray2() { |
386 |
|
ConcurrentLinkedQueue q = populatedQueue(SIZE); |
414 |
|
} |
415 |
|
|
416 |
|
/** |
417 |
< |
* iterator iterates through all elements |
417 |
> |
* iterator iterates through all elements |
418 |
|
*/ |
419 |
|
public void testIterator() { |
420 |
|
ConcurrentLinkedQueue q = populatedQueue(SIZE); |