public class I18nizableTextComparator extends Object implements Comparator<I18nizableText>
Modifier and Type | Field and Description |
---|---|
private I18nUtils |
_i18nUtils |
Constructor and Description |
---|
I18nizableTextComparator(I18nUtils i18nUtils)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(I18nizableText t1,
I18nizableText t2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
private I18nUtils _i18nUtils
public I18nizableTextComparator(I18nUtils i18nUtils)
i18nUtils
- the I18nUtils
for actual translations.public int compare(I18nizableText t1, I18nizableText t2)
compare
in interface Comparator<I18nizableText>