com.liferay.util.bridges.jsf.common.comparator
Class SelectItemComparator
java.lang.Object
com.liferay.util.bridges.jsf.common.comparator.SelectItemComparator
- All Implemented Interfaces:
- Comparator<javax.faces.model.SelectItem>
public class SelectItemComparator
- extends Object
- implements Comparator<javax.faces.model.SelectItem>
Method Summary |
int |
compare(javax.faces.model.SelectItem selectItem1,
javax.faces.model.SelectItem selectItem2)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectItemComparator
public SelectItemComparator()
SelectItemComparator
public SelectItemComparator(boolean ascending)
compare
public int compare(javax.faces.model.SelectItem selectItem1,
javax.faces.model.SelectItem selectItem2)
- Specified by:
compare
in interface Comparator<javax.faces.model.SelectItem>