Class UIListItemComparator<C extends IJspUIContext,I extends IUIListItem<C>>
java.lang.Object
com.jalios.jcms.member.profile.ui.UIListItemComparator<C,I>
- Type Parameters:
C- type of contextI- type of item
- All Implemented Interfaces:
Comparator<I>
- Direct Known Subclasses:
PropertyUIListItemComparator
public class UIListItemComparator<C extends IJspUIContext,I extends IUIListItem<C>>
extends Object
implements Comparator<I>
Compare 2 list item from on their index, or sortKey.
- Since:
- jplatform-11
- Author:
- Sylvain Devaux
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
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
-
LOGGER
protected static final org.apache.log4j.Logger LOGGER
-
-
Constructor Details
-
UIListItemComparator
public UIListItemComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<C extends IJspUIContext>
-