A sensible definition of #clear in terms of the iterator method of #entrySet. In many cases, you may wish to override #clear to forward to this implementation. @since 7.0
()
| 191 | |
| 192 | |
| 193 | protected void standardClear() { |
| 194 | Iterators.clear(entrySet().iterator()); |
| 195 | } |
| 196 | |
| 197 | /** |
| 198 | * A sensible implementation of {@link Map#keySet} in terms of the following |