Integrate the TmfEvent+ITmfTimestamp API
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / event / ITmfTimestamp.java
index 853f2547375c9a254f87b2e2a78900fac35d8007..02658822a6fba63c71e071ff3052f0b48a9421ad 100644 (file)
@@ -16,7 +16,7 @@ package org.eclipse.linuxtools.tmf.core.event;
  * <b><u>ITmfTimestamp</u></b>
  * <p>
  */
-public interface ITmfTimestamp {
+public interface ITmfTimestamp extends Cloneable, Comparable<ITmfTimestamp> {
 
     /**
      * @return the timestamp value (magnitude)
@@ -59,4 +59,10 @@ public interface ITmfTimestamp {
      */
     public ITmfTimestamp getDelta(ITmfTimestamp ts);
 
+    // Cloneable
+    public ITmfTimestamp clone();
+    
+    // Comparable
+    public int compareTo(ITmfTimestamp ts);
+
 }
This page took 0.023564 seconds and 5 git commands to generate.