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
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public NotificationEventComparator()
public NotificationEventComparator(boolean ascending)
public int compare(NotificationEvent notificationEvent1, NotificationEvent notificationEvent2)
compare
in interface Comparator<NotificationEvent>