com.liferay.portal.util.comparator
Class PortletCategoryComparator

java.lang.Object
  extended by com.liferay.portal.util.comparator.PortletCategoryComparator
All Implemented Interfaces:
java.io.Serializable, java.util.Comparator<PortletCategory>

public class PortletCategoryComparator
extends java.lang.Object
implements java.util.Comparator<PortletCategory>, java.io.Serializable

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Constructor Summary
PortletCategoryComparator(long companyId, java.util.Locale locale)
           
 
Method Summary
 int compare(PortletCategory portletCategory1, PortletCategory portletCategory2)
           
 
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

PortletCategoryComparator

public PortletCategoryComparator(long companyId,
                                 java.util.Locale locale)
Method Detail

compare

public int compare(PortletCategory portletCategory1,
                   PortletCategory portletCategory2)
Specified by:
compare in interface java.util.Comparator<PortletCategory>