lttng: More luna annotation updates
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / trace / ITmfLocation.java
index 7c0f9812ca1564f7bd102efb370555f8092fba93..3f7b5279d325534e39febc006ed43669365942c9 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2010, 2012 Ericsson
+ * Copyright (c) 2009, 2012 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -13,7 +13,6 @@
 
 package org.eclipse.linuxtools.tmf.core.trace;
 
-
 /**
  * The generic trace location in TMF.
  * <p>
@@ -21,32 +20,23 @@ package org.eclipse.linuxtools.tmf.core.trace;
  * enough information to allow the positioning of the trace 'pointer' to read an
  * arbitrary event.
  * <p>
- * This location is trace-specific and must be comparable.
- *
- * @param <L> The trace location type
+ * This location is trace-specific, must be comparable and immutable.
  *
- * @version 1.0
+ * @version 2.0
  * @author Francois Chouinard
  */
-public interface ITmfLocation<L extends Comparable<?>> {
+public interface ITmfLocation {
 
     // ------------------------------------------------------------------------
     // Getters
     // ------------------------------------------------------------------------
 
     /**
-     * @return the location
+     * Returns the concrete trace location information
+     *
+     * @return the location information
      * @since 2.0
      */
-    public L getLocationData();
-
-    // ------------------------------------------------------------------------
-    // Operations
-    // ------------------------------------------------------------------------
-
-    /**
-     * @return a clone of the location
-     */
-    public ITmfLocation<L> clone();
+    Comparable<?> getLocationInfo();
 
 }
This page took 0.024616 seconds and 5 git commands to generate.