class ParseConfigUtils {

  private Map<String, Object> mergeDimensionItems(Map<String, Map<String, Object>> items) {
    Map<String, Object> flatMap = new HashMap<>();
    Set<String> keySet = items.keySet();
    if (keySet.contains("application")) {
      flatMap.putAll(items.get("application"));
      keySet.remove("application");
    }
    if (!keySet.isEmpty()) {
      TreeSet<String> sortedKeys = new TreeSet<String>(new Comparator<String>() {
        @Override
        public int compare(String o1, String o2) {
          return o1.length() - o2.length();
        }
      });
      sortedKeys.addAll(keySet);
      sortedKeys.forEach(key -> flatMap.putAll(items.get(key)));
    }
    return flatMap;
  }

  public  ParseConfigUtils(UpdateHandler updateHandler);
  private  ParseConfigUtils();

}