1 /*******************************************************************************
2 * Copyright (c) 2012 Ericsson
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
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.core
.trace
;
16 * A concrete implementation of TmfLocation based on Long:s
18 * @author Francois Chouinard
21 public class TmfLongLocation
extends TmfLocation
{
24 * The normal constructor
26 * @param locationInfo the concrete location
28 public TmfLongLocation(final Long locationInfo
) {
33 * The copy constructor
35 * @param other the other location
37 public TmfLongLocation(final TmfLongLocation other
) {
38 super(other
.getLocationInfo());
42 * @see org.eclipse.linuxtools.tmf.core.trace.ITmfLocation#getLocationInfo()
45 public Long
getLocationInfo() {
46 return (Long
) super.getLocationInfo();
50 * @see org.eclipse.linuxtools.tmf.core.trace.TmfLocation#clone()
53 public TmfLongLocation
clone() {
54 return (TmfLongLocation
) super.clone();
58 * @see org.eclipse.linuxtools.tmf.core.trace.TmfLocation#cloneValue()
61 protected Long
cloneLocationInfo() {
62 // No need to clone a Long
63 return getLocationInfo();
This page took 0.036884 seconds and 6 git commands to generate.