(Collection<?> c)
| 3884 | } |
| 3885 | |
| 3886 | @Override |
| 3887 | public boolean removeAll(Collection<?> c) { |
| 3888 | try { |
| 3889 | return super.removeAll(checkNotNull(c)); |
| 3890 | } catch (UnsupportedOperationException e) { |
| 3891 | Set<K> toRemove = Sets.newHashSet(); |
| 3892 | for (Entry<K, V> entry : map().entrySet()) { |
| 3893 | if (c.contains(entry.getValue())) { |
| 3894 | toRemove.add(entry.getKey()); |
| 3895 | } |
| 3896 | } |
| 3897 | return map().keySet().removeAll(toRemove); |
| 3898 | } |
| 3899 | } |
| 3900 | |
| 3901 | @Override |
| 3902 | public boolean retainAll(Collection<?> c) { |
nothing calls this directly
no test coverage detected