Remove the generic location (replace by Comparable)
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / src / org / eclipse / linuxtools / tmf / core / tests / trace / TmfStringLocation.java
CommitLineData
cb8c854e
FC
1/*******************************************************************************
2 * Copyright (c) 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 *******************************************************************************/
12
13package org.eclipse.linuxtools.tmf.core.tests.trace;
14
15import org.eclipse.linuxtools.tmf.core.trace.TmfLocation;
16
17/**
18 * <b><u>TmfStringLocation</u></b>
19 * <p>
20 * Implement me. Please.
21 * <p>
22 */
1e1bef82
FC
23@SuppressWarnings("javadoc")
24public class TmfStringLocation extends TmfLocation {
cb8c854e
FC
25
26 public TmfStringLocation(String location) {
27 super(location);
28 }
29
1e1bef82
FC
30 public TmfStringLocation(TmfStringLocation other) {
31 super(other.getLocationData());
cb8c854e
FC
32 }
33
34 @Override
35 public TmfStringLocation clone() {
1e1bef82 36 return new TmfStringLocation((String) getLocationData());
cb8c854e
FC
37 }
38
39}
This page took 0.03156 seconds and 5 git commands to generate.