Simplify TmfEvent constructors and update javadoc
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / trace / ITmfLocation.java
1 /*******************************************************************************
2 * Copyright (c) 2009, 2010, 2012 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Francois Chouinard - Initial API and implementation
11 * Francois Chouinard - Updated as per TMF Trace Model 1.0
12 *******************************************************************************/
13
14 package org.eclipse.linuxtools.tmf.core.trace;
15
16
17 /**
18 * An ITmfLocation is the equivalent of a random-access file position, holding
19 * enough information to allow the positioning of the trace 'pointer' to read an
20 * arbitrary event.
21 * <p>
22 * This location is trace-specific but must be comparable.
23 *
24 * @since 1.0
25 * @version 1.0
26 * @author Francois Chouinard
27 *
28 * @see TmfLocation
29 */
30 public interface ITmfLocation<L extends Comparable<?>> extends Cloneable {
31
32 // ------------------------------------------------------------------------
33 // Getters
34 // ------------------------------------------------------------------------
35
36 /**
37 * @return the location
38 */
39 public L getLocation();
40
41 // ------------------------------------------------------------------------
42 // Cloneable
43 // ------------------------------------------------------------------------
44
45 /**
46 * @return a clone of the location
47 */
48 public ITmfLocation<L> clone();
49
50 }
This page took 0.033989 seconds and 6 git commands to generate.