Package com.evolveum.midpoint.web.util
Class LocalizationMessageComparator<T>
java.lang.Object
com.evolveum.midpoint.web.util.LocalizationMessageComparator<T>
- All Implemented Interfaces:
- Comparator<T>
Created by Viliam Repan (lazyman).
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Comparator<LocalizableMessage>static final Comparator<LocalizableMessage>static final Comparator<PolyString>static final Comparator<PolyString>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintprotected abstract StringgetFallback(T object) protected abstract StringgetTranslation(T object) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparatorequals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
- 
Field Details- 
COMPARE_MESSAGE_TRANSLATED
- 
COMPARE_MESSAGE_UNTRANSLATED
- 
COMPARE_POLYSTRING_TRANSLATED
- 
COMPARE_POLYSTRING_UNTRANSLATED
 
- 
- 
Constructor Details- 
LocalizationMessageComparatorpublic LocalizationMessageComparator(boolean translate) 
 
- 
- 
Method Details- 
compare- Specified by:
- comparein interface- Comparator<T>
 
- 
getFallback
- 
getTranslation
 
-