Class LocalizationMessageComparator<T>

java.lang.Object
com.evolveum.midpoint.web.util.LocalizationMessageComparator<T>
All Implemented Interfaces:
Comparator<T>

public abstract class LocalizationMessageComparator<T> extends Object implements Comparator<T>
Created by Viliam Repan (lazyman).
  • Field Details

  • Constructor Details

    • LocalizationMessageComparator

      public LocalizationMessageComparator(boolean translate)
  • Method Details

    • compare

      public int compare(T o1, T o2)
      Specified by:
      compare in interface Comparator<T>
    • getFallback

      protected abstract String getFallback(T object)
    • getTranslation

      protected abstract String getTranslation(T object)