Package org.opencms.widgets
Class A_CmsFormatterWidget.FormatterSelectComparator
java.lang.Object
org.opencms.widgets.A_CmsFormatterWidget.FormatterSelectComparator
- All Implemented Interfaces:
Comparator<I_CmsFormatterBean>
- Enclosing class:
- A_CmsFormatterWidget
public static class A_CmsFormatterWidget.FormatterSelectComparator
extends Object
implements Comparator<I_CmsFormatterBean>
Comparator used to sort formatter beans in the order in which they should be displayed in the selection.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compare
(I_CmsFormatterBean first, I_CmsFormatterBean second) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
FormatterSelectComparator
public FormatterSelectComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<I_CmsFormatterBean>
- See Also:
-