Class NotificationEventComparator
Object
com.liferay.portal.kernel.notifications.NotificationEventComparator
- All Implemented Interfaces:
Comparator<NotificationEvent>
- Author:
- Edward Han
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(NotificationEvent notificationEvent1, NotificationEvent notificationEvent2) 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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
NotificationEventComparator
public NotificationEventComparator() -
NotificationEventComparator
public NotificationEventComparator(boolean ascending)
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<NotificationEvent>
-