Class NotificationEventComparator
Object
com.liferay.portal.kernel.notifications.NotificationEventComparator
- All Implemented Interfaces:
Comparator<NotificationEvent>
- Author:
- Edward Han
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(NotificationEvent notificationEvent1, NotificationEvent notificationEvent2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
comparein interfaceComparator<NotificationEvent>
-