()
| 361 | * removeAll(c) removes only those elements of c and reports true if changed |
| 362 | */ |
| 363 | public void testRemoveAll() { |
| 364 | for (int i = 1; i < SIZE; ++i) { |
| 365 | NavigableSet q = populatedSet(SIZE); |
| 366 | NavigableSet p = populatedSet(i); |
| 367 | assertTrue(q.removeAll(p)); |
| 368 | assertEquals(SIZE-i, q.size()); |
| 369 | for (int j = 0; j < i; ++j) { |
| 370 | Integer I = (Integer)(p.pollFirst()); |
| 371 | assertFalse(q.contains(I)); |
| 372 | } |
| 373 | } |
| 374 | } |
| 375 | |
| 376 | /* |
| 377 | * lower returns preceding element |
nothing calls this directly
no test coverage detected