code: public int getInt(String key) {
      if (containsKey(key)) {
        return Integer.parseInt(get(key));
      } else {
        throw new IllegalArgumentException("Missing key " + key + ".");
      }
    }
docs: Gets the int value <code>key</code>.
  
  @param key key to get value for
  @throws java.lang.IllegalArgumentException if the key is not found
  @return value