Removes all elements from this map, leaving it empty. @throws UnsupportedOperationException if removing from this map is not supported. @see #isEmpty() @see #size()
()
| 47 | * @see #size() |
| 48 | */ |
| 49 | public void clear() { |
| 50 | entrySet().clear(); |
| 51 | } |
| 52 | |
| 53 | /** |
| 54 | * Returns whether this map contains the specified key. |