()
| 314 | * removeAll(c) removes only those elements of c and reports true if changed |
| 315 | */ |
| 316 | public void testRemoveAll() { |
| 317 | for (int i = 1; i < SIZE; ++i) { |
| 318 | NavigableSet q = populatedSet(SIZE); |
| 319 | NavigableSet p = populatedSet(i); |
| 320 | assertTrue(q.removeAll(p)); |
| 321 | assertEquals(SIZE-i, q.size()); |
| 322 | for (int j = 0; j < i; ++j) { |
| 323 | Integer I = (Integer)(p.pollFirst()); |
| 324 | assertFalse(q.contains(I)); |
| 325 | } |
| 326 | } |
| 327 | } |
| 328 | |
| 329 | /* |
| 330 | * lower returns preceding element |
nothing calls this directly
no test coverage detected