public class AbstractListServlet.ListItemComparator extends java.lang.Object implements java.util.Comparator<AbstractListServlet.ListItem>
ListItemComparator
compares public fields of
AbstractListServlet.ListItem
s.Constructor and Description |
---|
ListItemComparator(java.lang.String compareField)
Creates a new
ListItemComparator instance. |
Modifier and Type | Method and Description |
---|---|
int |
compare(AbstractListServlet.ListItem o1,
AbstractListServlet.ListItem o2) |
public ListItemComparator(java.lang.String compareField)
ListItemComparator
instance.compareField
- The public field to comparepublic int compare(AbstractListServlet.ListItem o1, AbstractListServlet.ListItem o2)
compare
in interface java.util.Comparator<AbstractListServlet.ListItem>
Copyright © 2010 - 2020 Adobe. All Rights Reserved