import org.eclipse.linuxtools.tmf.ui.widgets.timegraph.model.ITimeEvent;\r
import org.eclipse.linuxtools.tmf.ui.widgets.timegraph.model.ITimeGraphEntry;\r
\r
-public class ControlFlowEntry implements ITimeGraphEntry, Comparable<ControlFlowEntry> {\r
+public class ControlFlowEntry implements ITimeGraphEntry {\r
private int fThreadQuark;\r
private CtfKernelTrace fTrace;\r
private ControlFlowEntry fParent = null;\r
return new EventIterator(fEventList, fZoomedEventList, startTime, stopTime);\r
}\r
\r
- @Override\r
- public int compareTo(ControlFlowEntry other) {\r
- int result = this.fThreadId < other.fThreadId ? -1 : this.fThreadId > other.fThreadId ? 1 : 0;\r
- if (result == 0) {\r
- result = this.fStartTime < other.fStartTime ? -1 : this.fStartTime > other.fStartTime ? 1 : 0;\r
- }\r
- return result;\r
- }\r
-\r
public int getThreadQuark() {\r
return fThreadQuark;\r
}\r