Serializable
, Comparator<TimeStamped>
public class ChronologicalComparator extends Object implements Comparator<TimeStamped>, Serializable
TimeStamped
instance.AbsoluteDate
,
TimeStamped
,
Serialized FormConstructor | 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, thenComparingLong
public int compare(TimeStamped timeStamped1, TimeStamped timeStamped2)
compare
in interface Comparator<TimeStamped>
timeStamped1
- first time-stamped instancetimeStamped2
- second time-stamped instanceCopyright © 2002-2018 CS Systèmes d'information. All rights reserved.