Traverses an iterator and removes every element that belongs to the provided collection. The iterator will be left exhausted: its hasNext() method will return false. @param removeFrom the iterator to (potentially) remove elements from @param elementsToRemove the elements to remove @
(Iterator<?> removeFrom, Collection<?> elementsToRemove)
| 228 | */ |
| 229 | |
| 230 | @CanIgnoreReturnValue |
| 231 | public static boolean removeAll(Iterator<?> removeFrom, Collection<?> elementsToRemove) { |
| 232 | return removeIf(removeFrom, in(elementsToRemove)); |
| 233 | } |
| 234 | |
| 235 | /** |
| 236 | * Removes every element that satisfies the provided predicate from the |
no test coverage detected