Lines Matching refs:LocaleUtils
58 this.language = (language != null) ? LocaleUtils.toLowerString(language).intern() : "";
59 this.script = (script != null) ? LocaleUtils.toTitleString(script).intern() : "";
60 this.region = (region != null) ? LocaleUtils.toUpperString(region).intern() : "";
76 if (LocaleUtils.caseIgnoreMatch(language, "he")) {
78 } else if (LocaleUtils.caseIgnoreMatch(language, "yi")) {
80 } else if (LocaleUtils.caseIgnoreMatch(language, "id")) {
192 h = 31 * h + LocaleUtils.toLower(region.charAt(i));
209 h = 31*h + LocaleUtils.toLower(language.charAt(i));
218 h = 31*h + LocaleUtils.toLower(script.charAt(i));
227 h = 31*h + LocaleUtils.toLower(region.charAt(i));
250 && LocaleUtils.caseIgnoreMatch(((Key)obj).lang, this.lang)
251 && LocaleUtils.caseIgnoreMatch(((Key)obj).scrt, this.scrt)
252 && LocaleUtils.caseIgnoreMatch(((Key)obj).regn, this.regn)
258 int res = LocaleUtils.caseIgnoreCompare(this.lang, other.lang);
260 res = LocaleUtils.caseIgnoreCompare(this.scrt, other.scrt);
262 res = LocaleUtils.caseIgnoreCompare(this.regn, other.regn);
281 String lang = LocaleUtils.toLowerString(key.lang).intern();
282 String scrt = LocaleUtils.toTitleString(key.scrt).intern();
283 String regn = LocaleUtils.toUpperString(key.regn).intern();