b9de89e51940227c5f6889569cc7e2c41b1217ed
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / stubs / org / eclipse / linuxtools / tmf / tests / stubs / trace / TmfExperimentStub.java
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
13 package org.eclipse.linuxtools.tmf.tests.stubs.trace;
14
15 import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;
16 import org.eclipse.linuxtools.tmf.core.event.TmfEvent;
17 import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace;
18 import org.eclipse.linuxtools.tmf.core.trace.TmfExperiment;
19
20 /**
21 * <b><u>TmfExperimentStub</u></b>
22 * <p>
23 * Implement me. Please.
24 * <p>
25 */
26 public class TmfExperimentStub<T extends ITmfEvent> extends TmfExperiment<TmfEvent> {
27
28 public TmfExperimentStub(String name, ITmfTrace<TmfEvent>[] traces, int blockSize) {
29 super(TmfEvent.class, name, traces, blockSize);
30 setIndexer(new TmfIndexerStub(this, blockSize));
31 }
32
33 @Override
34 public TmfIndexerStub getIndexer() {
35 return (TmfIndexerStub) super.getIndexer();
36 }
37 }
This page took 0.031549 seconds and 4 git commands to generate.