public class ChronologicalComparator extends Object implements Comparator<TimeStamped>, Serializable
TimeStamped
instance.AbsoluteDate
,
TimeStamped
,
Serialized FormConstructor and Description |
---|
ChronologicalComparator()
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(TimeStamped timeStamped1,
TimeStamped timeStamped2)
Compare two time-stamped instances.
|
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 int compare(TimeStamped timeStamped1, TimeStamped timeStamped2)
compare
in interface Comparator<TimeStamped>
timeStamped1
- first time-stamped instancetimeStamped2
- second time-stamped instanceCopyright © 2002-2020 CS GROUP. All rights reserved.