(@Nullable Object key)
| 873 | } |
| 874 | |
| 875 | @Override |
| 876 | public V remove(@Nullable Object key) { |
| 877 | if (backingSet().remove(key)) { |
| 878 | |
| 879 | @SuppressWarnings("unchecked") // unsafe, but Javadoc warns about it |
| 880 | K k = (K) key; |
| 881 | return function.apply(k); |
| 882 | } else { |
| 883 | return null; |
| 884 | } |
| 885 | } |
| 886 | |
| 887 | @Override |
| 888 | public void clear() { |
nothing calls this directly
no test coverage detected