public class TimestampComparator
extends java.lang.Object
Constructor and Description |
---|
TimestampComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object object1,
java.lang.Object object2)
Returns a number less than, equal to, or greater than zero,
depending on whether the object's timestamp less than, equal to,
or greater than the other object.
|
boolean |
equals(java.lang.Object obj)
Returns true if this comparator is the same class as the comparator passed in.
|
public int compare(java.lang.Object object1, java.lang.Object object2)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
-