1 /*******************************************************************************
2 * Copyright (c) 2009, 2010 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
.experiment
;
15 import org
.eclipse
.linuxtools
.tmf
.trace
.ITmfLocation
;
16 import org
.eclipse
.linuxtools
.tmf
.trace
.TmfLocation
;
19 * <b><u>TmfExperimentLocation</u></b>
21 * The experiment location is the set of its traces' locations.
23 public class TmfExperimentLocation
extends TmfLocation
<ITmfLocation
<?
>[]> {
25 public TmfExperimentLocation(ITmfLocation
<?
>[] locations
) {
30 public TmfExperimentLocation
clone() {
31 ITmfLocation
<?
>[] locations
= (ITmfLocation
<?
>[]) getLocation();
32 ITmfLocation
<?
>[] clones
= new ITmfLocation
[locations
.length
];
33 for (int i
= 0; i
< locations
.length
; i
++) {
34 clones
[i
] = locations
[i
].clone();
36 return new TmfExperimentLocation(clones
);
This page took 0.03185 seconds and 5 git commands to generate.