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 Summary
FieldsModifier and TypeFieldDescriptionstatic final Comparator<LocalizableMessage>static final Comparator<LocalizableMessage>static final Comparator<PolyString>static final Comparator<PolyString> - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintprotected abstract StringgetFallback(T object) protected abstract StringgetTranslation(T object) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong 
- 
Field Details
- 
COMPARE_MESSAGE_TRANSLATED
 - 
COMPARE_MESSAGE_UNTRANSLATED
 - 
COMPARE_POLYSTRING_TRANSLATED
 - 
COMPARE_POLYSTRING_UNTRANSLATED
 
 - 
 - 
Constructor Details
- 
LocalizationMessageComparator
public LocalizationMessageComparator(boolean translate)  
 - 
 - 
Method Details
- 
compare
- Specified by:
 comparein interfaceComparator<T>
 - 
getFallback
 - 
getTranslation
 
 -