<commit_before>package com.linkedin.restli.client.config;

import java.util.Map;

public class ParSeqRestClientConfig {

  private final Map<String, ResourceConfig> _resourceConfig;
  private final ResourceConfig _defaultResourceConfig;

  public ParSeqRestClientConfig(Map<String, ResourceConfig> resourceConfig, ResourceConfig defaultResourceConfig) {
    _resourceConfig = resourceConfig;
    _defaultResourceConfig = defaultResourceConfig;
  }

  public ResourceConfig getResourceConfig(String resource) {
    return _resourceConfig.getOrDefault(resource, _defaultResourceConfig);
  }
}<commit_msg>Expose full resource config map in ParSeqRestClientConfig.<commit_after>package com.linkedin.restli.client.config;

import java.util.Collections;
import java.util.Map;

public class ParSeqRestClientConfig {

  private final Map<String, ResourceConfig> _resourceConfig;
  private final ResourceConfig _defaultResourceConfig;

  public ParSeqRestClientConfig(Map<String, ResourceConfig> resourceConfig, ResourceConfig defaultResourceConfig) {
    _resourceConfig = resourceConfig;
    _defaultResourceConfig = defaultResourceConfig;
  }

  public ResourceConfig getResourceConfig(String resource) {
    return _resourceConfig.getOrDefault(resource, _defaultResourceConfig);
  }

  public Map<String, ResourceConfig> getResourceConfig() {
    return Collections.unmodifiableMap(_resourceConfig);
  }

}
{'fraction_non_alphanumeric': 0.06638115631691649, 'fraction_numerical': 0.0, 'mean_word_length': 6.66120218579235, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1379503', 'n_tokens_mistral': 361, 'n_tokens_neox': 352, 'n_words': 80}