Make TmfLocation abstract and implement a couple of Tmf<type>Location
[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 */
23public class TmfStringLocation extends TmfLocation<String> {
24
25 public TmfStringLocation(String location) {
26 super(location);
27 }
28
29 public TmfStringLocation(TmfStringLocation location) {
30 super(location.getLocationData());
31 }
32
33 @Override
34 public TmfStringLocation clone() {
35 return new TmfStringLocation(getLocationData());
36 }
37
38}
This page took 0.025988 seconds and 5 git commands to generate.