class CollectionUtils {

  public static Map<String, Map<String, String>> splitAll(Map<String, List<String>> list, String separator) {
    if (list == null) {
      return null;
    }
    Map<String, Map<String, String>> result = new HashMap<String, Map<String, String>>();
    for (Map.Entry<String, List<String>> entry : list.entrySet()) {
      result.put(entry.getKey(), split(entry.getValue(), separator));
    }
    return result;
  }

  private  CollectionUtils();

}