code: public int getInt(String key, int default_) {
      Object o = get(key);
      return o instanceof Number ? ((Number) o).intValue() : default_;
    }
docs: Returns the {@link Integer} at the given key, or the default if it does not exist or is the
  wrong type.