com.liferay.portal.kernel.notifications
Class NotificationEventComparator
java.lang.Object
com.liferay.portal.kernel.notifications.NotificationEventComparator
- All Implemented Interfaces:
- Comparator<NotificationEvent>
public class NotificationEventComparator
- extends Object
- implements Comparator<NotificationEvent>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotificationEventComparator
public NotificationEventComparator()
NotificationEventComparator
public NotificationEventComparator(boolean ascending)
compare
public int compare(NotificationEvent notificationEvent1,
NotificationEvent notificationEvent2)
- Specified by:
compare
in interface Comparator<NotificationEvent>