diff options
Diffstat (limited to 'FROMCVS/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/TimeSeries.java')
-rwxr-xr-x | FROMCVS/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/TimeSeries.java | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/FROMCVS/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/TimeSeries.java b/FROMCVS/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/TimeSeries.java deleted file mode 100755 index 310890865..000000000 --- a/FROMCVS/org.eclipse.test.performance/src/org/eclipse/test/internal/performance/db/TimeSeries.java +++ /dev/null @@ -1,71 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004, 2006 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.test.internal.performance.db; - -public class TimeSeries { - - private String[] fBuildNames; - private double[] fAverages; - private double[] fStddev; - private long[] fCount; - - TimeSeries(String[] tags, double[] averages, double[] stddev, long[] sizes) { - fBuildNames= tags; - fAverages= averages; - fStddev= stddev; - fCount= sizes; - } - - /** - * Returns length of series. - * @return length of series - */ - public int getLength() { - return fBuildNames.length; - } - - /** - * Returns value at given index. - * @param ix - * @return value at given index - */ - public double getValue(int ix) { - return fAverages[ix]; - } - - /** - * Returns std dev at given index. - * @param ix - * @return std dev at given index - */ - public double getStddev(int ix) { - return fStddev[ix]; - } - - /** - * Returns label at given index. - * @param ix - * @return label at given index - */ - public String getLabel(int ix) { - return fBuildNames[ix]; - } - - /** - * Returns the sample size at the given index. - * - * @param ix - * @return the sample size at the given index - */ - public long getCount(int ix) { - return fCount[ix]; - } -} |