public class NotificationEventComparator extends Object implements Comparator<NotificationEvent>
Constructor and Description |
---|
NotificationEventComparator() |
NotificationEventComparator(boolean ascending) |
Modifier and Type | Method and Description |
---|---|
int |
compare(NotificationEvent notificationEvent1,
NotificationEvent notificationEvent2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public NotificationEventComparator()
public NotificationEventComparator(boolean ascending)
public int compare(NotificationEvent notificationEvent1, NotificationEvent notificationEvent2)
compare
in interface Comparator<NotificationEvent>