Package com.day.cq.commons.servlets
Class AbstractListServlet.ListItemComparator
- java.lang.Object
-
- com.day.cq.commons.servlets.AbstractListServlet.ListItemComparator
-
- All Implemented Interfaces:
java.util.Comparator<AbstractListServlet.ListItem>
- Enclosing class:
- AbstractListServlet
public class AbstractListServlet.ListItemComparator extends java.lang.Object implements java.util.Comparator<AbstractListServlet.ListItem>
TheListItemComparator
compares public fields ofAbstractListServlet.ListItem
s.
-
-
Constructor Summary
Constructors Constructor Description ListItemComparator(java.lang.String compareField)
Creates a newListItemComparator
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(AbstractListServlet.ListItem o1, AbstractListServlet.ListItem o2)
-
-
-
Method Detail
-
compare
public int compare(AbstractListServlet.ListItem o1, AbstractListServlet.ListItem o2)
- Specified by:
compare
in interfacejava.util.Comparator<AbstractListServlet.ListItem>
-
-