(@Nullable Object key)
| 906 | } |
| 907 | |
| 908 | @Override |
| 909 | public @Nullable V remove(@Nullable Object key) { |
| 910 | if (backingSet().remove(key)) { |
| 911 | @SuppressWarnings("unchecked") // unsafe, but Javadoc warns about it |
| 912 | K k = (K) key; |
| 913 | return function.apply(k); |
| 914 | } else { |
| 915 | return null; |
| 916 | } |
| 917 | } |
| 918 | |
| 919 | @Override |
| 920 | public void clear() { |
nothing calls this directly
no test coverage detected