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