public class ChronologicalComparator extends Object implements Comparator<TimeStamped>, Serializable
TimeStamped
实例的比较器。
AbsoluteDate
, TimeStamped
, Serialized Form
Constructor and Description |
---|
ChronologicalComparator()
简单构造函数。
|
Modifier and Type | Method and Description |
---|---|
int |
compare(TimeStamped timeStamped1, TimeStamped timeStamped2)
比较两个时间戳实例。
|
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
在接口 Comparator<TimeStamped>
timeStamped1
- 第一个时间戳实例
timeStamped2
- 第二个时间戳实例
Copyright © 2002-2023 CS GROUP. All rights reserved.