code: public String remove(final String key) {
          final String result = data.getValue(key);
          data.remove(key);
          return result;
      }
docs: Removes the element with the specified name.
  @param key The name of the element.
  @return The previous value of the element.