Serializable, Comparator<TimeStamped>public class ChronologicalComparator extends Object implements Comparator<TimeStamped>, Serializable
TimeStamped instance.AbsoluteDate,
TimeStamped,
Serialized Form| Constructor | Description |
|---|---|
ChronologicalComparator() |
Simple constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
compare(TimeStamped timeStamped1,
TimeStamped timeStamped2) |
Compare two time-stamped instances.
|
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(TimeStamped timeStamped1, TimeStamped timeStamped2)
compare in interface Comparator<TimeStamped>timeStamped1 - first time-stamped instancetimeStamped2 - second time-stamped instanceCopyright © 2002-2019 CS Systèmes d'information. All rights reserved.