211 |
|
} |
212 |
|
|
213 |
|
/** |
214 |
< |
* |
214 |
> |
* element returns next element, or throws NSEE if empty |
215 |
|
*/ |
216 |
|
public void testElement() { |
217 |
|
LinkedList q = populatedQueue(SIZE); |
227 |
|
} |
228 |
|
|
229 |
|
/** |
230 |
< |
* element returns next element, or throws NSEE if empty |
230 |
> |
* remove removes next element, or throws NSEE if empty |
231 |
|
*/ |
232 |
|
public void testRemove() { |
233 |
|
LinkedList q = populatedQueue(SIZE); |
316 |
|
} |
317 |
|
|
318 |
|
/** |
319 |
< |
* removeAll(c) removes only those elements of c and reports true if changed |
319 |
> |
* removeAll(c) removes only those elements of c and reports true if changed |
320 |
|
*/ |
321 |
|
public void testRemoveAll() { |
322 |
|
for (int i = 1; i < SIZE; ++i) { |