Removes the List for the given ListKey. Note there is no requirement that the list for the given key be empty before this method is called. Ownership of the returned Map is transferred to the object calling this method. @return The Map which this MapKeyMap previous mapped the given key
(MapKey<K, V> key)
| 206 | * @return The Map which this MapKeyMap previous mapped the given key |
| 207 | */ |
| 208 | @SuppressWarnings("unchecked") |
| 209 | public <K, V> Map<K, V> removeMapFor(MapKey<K, V> key) |
| 210 | { |
| 211 | return map.removeAll(key); |
| 212 | } |
| 213 | |
| 214 | /** |
| 215 | * Returns a Set indicating the Keys of this MapKeyMap. Ownership of the Set |