in scim-spec/scim-spec-schema/src/main/java/org/apache/directory/scim/spec/resources/PhoneNumber.java [315:335]
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(Locale.ROOT));
if (!entry.getValue().toLowerCase(Locale.ROOT).equals(foundValue)) {
return false;
}
}
return true;
}