code: static <K> K key(TreeMapEntry<K,?> e) {
          if (e==null)
              throw new NoSuchElementException();
          return e.key;
      }
docs: Returns the key corresponding to the specified Entry.
  @throws NoSuchElementException if the Entry is null