Rename xxx.lttng to xxx.lttng.core
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf / src / org / eclipse / linuxtools / tmf / event / TmfTimestamp.java
index 63168db9afa698226967101ed18b6f248ba3106f..0708e277212645882d9b8251570ec05993e6b06b 100644 (file)
@@ -41,7 +41,7 @@ package org.eclipse.linuxtools.tmf.event;
  * Notice that the adjusted timestamp value could be negative e.g. for events
  * that occurred before t0 wrt the reference clock.
  */
-public class TmfTimestamp implements Cloneable {
+public class TmfTimestamp implements Cloneable, Comparable<TmfTimestamp> {
 
        // ------------------------------------------------------------------------
     // Attributes
@@ -389,4 +389,9 @@ public class TmfTimestamp implements Cloneable {
                return clone;
     }
 
+       @Override
+       public int compareTo(TmfTimestamp o) {
+               return compareTo(o, false);
+       }
+
 }
This page took 0.023858 seconds and 5 git commands to generate.