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
equals
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 © 2017. All rights reserved.