Minor API improvements
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / trace / ITmfLocation.java
CommitLineData
8c8bf09f 1/*******************************************************************************
fcccd900 2 * Copyright (c) 2009, 2010, 2012 Ericsson
8c8bf09f
ASL
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
fcccd900 11 * Francois Chouinard - Updated as per TMF Trace Model 1.0
8c8bf09f
ASL
12 *******************************************************************************/
13
6c13869b 14package org.eclipse.linuxtools.tmf.core.trace;
8c8bf09f
ASL
15
16/**
17 * <b><u>ITmfLocation</u></b>
18 * <p>
fcccd900
FC
19 * An ITmfLocation is the equivalent of a random-access file position, holding
20 * enough information to allow the positioning of the trace 'pointer' to read an
21 * arbitrary event.
22 * <p>
23 * This location is trace-specific but must be comparable.
8c8bf09f 24 */
a79913eb 25public interface ITmfLocation<L extends Comparable<?>> extends Cloneable {
452ad365 26
fcccd900
FC
27 // ------------------------------------------------------------------------
28 // Getters
29 // ------------------------------------------------------------------------
30
31 /**
32 * @return the location
33 */
34 public L getLocation();
452ad365 35
fcccd900
FC
36 // ------------------------------------------------------------------------
37 // Cloneable
38 // ------------------------------------------------------------------------
452ad365 39
fcccd900
FC
40 /**
41 * @return a clone of the location
42 */
43 public ITmfLocation<L> clone();
8c8bf09f
ASL
44
45}
This page took 0.042153 seconds and 5 git commands to generate.