(@Nullable Object key)
| 845 | } |
| 846 | |
| 847 | @Override |
| 848 | public V remove(@Nullable Object key) { |
| 849 | if (backingSet().remove(key)) { |
| 850 | @SuppressWarnings("unchecked") // unsafe, but Javadoc warns about it |
| 851 | K k = (K) key; |
| 852 | return function.apply(k); |
| 853 | } else { |
| 854 | return null; |
| 855 | } |
| 856 | } |
| 857 | |
| 858 | @Override |
| 859 | public void clear() { |
nothing calls this directly
no test coverage detected