(Collection<?> c)
| 3819 | } |
| 3820 | |
| 3821 | @Override |
| 3822 | public boolean removeAll(Collection<?> c) { |
| 3823 | try { |
| 3824 | return super.removeAll(checkNotNull(c)); |
| 3825 | } catch (UnsupportedOperationException e) { |
| 3826 | Set<K> toRemove = Sets.newHashSet(); |
| 3827 | for (Entry<K, V> entry : map().entrySet()) { |
| 3828 | if (c.contains(entry.getValue())) { |
| 3829 | toRemove.add(entry.getKey()); |
| 3830 | } |
| 3831 | } |
| 3832 | return map().keySet().removeAll(toRemove); |
| 3833 | } |
| 3834 | } |
| 3835 | |
| 3836 | @Override |
| 3837 | public boolean retainAll(Collection<?> c) { |
nothing calls this directly
no test coverage detected