Returns the key corresonding to the specified Entry. Throw NoSuchElementException if the Entry is null .
(Entry<X,Y> e)
| 424 | * NoSuchElementException if the Entry is <tt>null</tt>. |
| 425 | */ |
| 426 | private static <X,Y> X key(Entry<X,Y> e) { |
| 427 | if (e==null) |
| 428 | throw new NoSuchElementException(); |
| 429 | return e.key; |
| 430 | } |
| 431 | |
| 432 | /** |
| 433 | * Associates the specified value with the specified key in this map. |