in scim-spec/scim-spec-schema/src/main/java/org/apache/directory/scim/spec/resources/PhoneNumber.java [288:308]
boolean equalsIgnoreCaseAndOrderParams(Map<String, String> otherParams) {
if (params == null && otherParams == null) {
return true;
}
if ((params == null && otherParams != null) || (params != null && otherParams == null) || (params.size() != otherParams.size())) {
return false;
}
Map<String, String> paramsLowercase = paramsToLowerCase();
for (Entry<String, String> entry : otherParams.entrySet()) {
String foundValue = paramsLowercase.get(entry.getKey().toLowerCase());
if (!entry.getValue().equalsIgnoreCase(foundValue)) {
return false;
}
}
return true;
}