public class OutputEventComparatorByDate extends Object implements Comparator<OutputEvent>, Serializable
Constructor and Description |
---|
OutputEventComparatorByDate(boolean sortAscending)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(OutputEvent ouputEvent1,
OutputEvent ouputEvent2) |
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 OutputEventComparatorByDate(boolean sortAscending)
sortAscending
- if the sort shall be ascending in date.public int compare(OutputEvent ouputEvent1, OutputEvent ouputEvent2)
compare
in interface Comparator<OutputEvent>
Copyright © 2022. All rights reserved.