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) |
public NotificationEventComparator()
public NotificationEventComparator(boolean ascending)
public int compare(NotificationEvent notificationEvent1, NotificationEvent notificationEvent2)
compare in interface Comparator<NotificationEvent>