Home | History | Annotate | Download | only in text

Lines Matching refs:collator

256      * @param collator how to collate?should normally be Collator.getInstance(getDisplayLocale())
264 public List<UiListItem> getUiList(Set<ULocale> localeSet, boolean inSelf, Comparator<Object> collator) {
265 return getUiListCompareWholeItems(localeSet, UiListItem.getComparator(collator, inSelf));
351 * @param comparator (meant for strings, but because Java Collator doesn't have &lt;String&gt;...)
359 private final Comparator<Object> collator;
361 UiListItemComparator(Comparator<Object> collator, boolean useSelf) {
362 this.collator = collator;
367 int result = useSelf ? collator.compare(o1.nameInSelf, o2.nameInSelf)
368 : collator.compare(o1.nameInDisplayLocale, o2.nameInDisplayLocale);