tmf: Clean up tmf.core.trace package
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / trace / location / TmfLongLocation.java
1 /*******************************************************************************
2 * Copyright (c) 2012, 2013 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
13 package org.eclipse.linuxtools.tmf.core.trace.location;
14
15
16 /**
17 * A concrete implementation of TmfLocation based on Long:s
18 *
19 * @author Francois Chouinard
20 * @since 3.0
21 */
22 public final class TmfLongLocation extends TmfLocation {
23
24 /**
25 * The normal constructor
26 *
27 * @param locationInfo the concrete location
28 */
29 public TmfLongLocation(final Long locationInfo) {
30 super(locationInfo);
31 }
32
33 /**
34 * The copy constructor
35 *
36 * @param other the other location
37 */
38 public TmfLongLocation(final TmfLongLocation other) {
39 super(other.getLocationInfo());
40 }
41
42 @Override
43 public Long getLocationInfo() {
44 return (Long) super.getLocationInfo();
45 }
46
47 }
This page took 0.031483 seconds and 5 git commands to generate.