Removes the given case-insensitive key and its corresponding value from this StringMap. This method does nothing if the key is not in this StringMap. The same key may appear in multiple times in this StringMap; this method only removes the first occurrence of the key. @param key The key that
(String key)
| 456 | * <code>null</code>. |
| 457 | */ |
| 458 | public void |
| 459 | remove(String key) |
| 460 | { |
| 461 | int i = indexOf(key); |
| 462 | if (i >= 0) { |
| 463 | remove(i); |
| 464 | } |
| 465 | } |
| 466 | |
| 467 | public void |
| 468 | remove(int i) |
no test coverage detected