this.values = new ArrayList<String>();
}
}
public static CaseInsensitiveRegexMultiMap toMultiMap(List<? extends KeyToMultiValue> keyToMultiValues) {
CaseInsensitiveRegexMultiMap caseInsensitiveRegexMultiMap = new CaseInsensitiveRegexMultiMap();
if (keyToMultiValues != null) {
for (KeyToMultiValue keyToMultiValue : keyToMultiValues) {
for (String value : keyToMultiValue.getValues()) {
caseInsensitiveRegexMultiMap.put(keyToMultiValue.getName(), value);
}
}
}
return caseInsensitiveRegexMultiMap;
}