(@Nullable Object key)
| 861 | } |
| 862 | |
| 863 | @Override |
| 864 | public V get(@Nullable Object key) { |
| 865 | if (Collections2.safeContains(backingSet(), key)) { |
| 866 | |
| 867 | @SuppressWarnings("unchecked") // unsafe, but Javadoc warns about it |
| 868 | K k = (K) key; |
| 869 | return function.apply(k); |
| 870 | } else { |
| 871 | return null; |
| 872 | } |
| 873 | } |
| 874 | |
| 875 | @Override |
| 876 | public V remove(@Nullable Object key) { |
nothing calls this directly
no test coverage detected