Liferay 6.1.2-ce-ga3

com.liferay.util.bridges.jsf.common.comparator
Class SelectItemComparator

java.lang.Object
  extended by 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>


Constructor Summary
SelectItemComparator()
           
SelectItemComparator(boolean ascending)
           
 
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
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

SelectItemComparator

public SelectItemComparator()

SelectItemComparator

public SelectItemComparator(boolean ascending)
Method Detail

compare

public int compare(javax.faces.model.SelectItem selectItem1,
                   javax.faces.model.SelectItem selectItem2)
Specified by:
compare in interface Comparator<javax.faces.model.SelectItem>

Liferay 6.1.2-ce-ga3