org.imixs.workflow.jee.faces
Class SelectItemComparator
java.lang.Object
org.imixs.workflow.jee.faces.SelectItemComparator
- All Implemented Interfaces:
- Comparator<javax.faces.model.SelectItem>
public class SelectItemComparator
- extends Object
- implements Comparator<javax.faces.model.SelectItem>
Sorts a ArrayList of SelectItems by label
- Author:
- rsoika
|
Method Summary |
int |
compare(javax.faces.model.SelectItem a,
javax.faces.model.SelectItem b)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectItemComparator
public SelectItemComparator(Locale locale,
boolean ascending)
compare
public int compare(javax.faces.model.SelectItem a,
javax.faces.model.SelectItem b)
- Specified by:
compare in interface Comparator<javax.faces.model.SelectItem>
Copyright © 2006-2011 Imixs Software Solutions GmbH. All Rights Reserved.