(@Nullable Object o)
| 2879 | } |
| 2880 | |
| 2881 | @Override |
| 2882 | public boolean remove(@Nullable Object o) { |
| 2883 | Iterator<Entry<K, V>> entryItr = unfiltered.entrySet().iterator(); |
| 2884 | while (entryItr.hasNext()) { |
| 2885 | Entry<K, V> entry = entryItr.next(); |
| 2886 | if (predicate.apply(entry) && Objects.equals(entry.getValue(), o)) { |
| 2887 | entryItr.remove(); |
| 2888 | return true; |
| 2889 | } |
| 2890 | } |
| 2891 | return false; |
| 2892 | } |
| 2893 | |
| 2894 | @Override |
| 2895 | public boolean removeAll(Collection<?> collection) { |