source: xssim/trunk/src/test/local/db/loader/AccStatsReader.java @ 104

Revision 104, 650 bytes checked in by wojtekp, 13 years ago (diff)
  • Property svn:mime-type set to text/plain
Line 
1package test.local.db.loader;
2
3/**
4 *
5 * @author Marcin Krystek
6 *
7 */
8public class AccStatsReader extends StatsReader {
9
10        public AccStatsReader(StatsParser p) {
11                super(p);
12        }
13
14        public String getMetricName(){
15                return this.values[0];
16        }
17       
18        public double getMean(){
19                return getAsDouble(1);
20        }
21       
22        public double getStandardDeviation(){
23                return getAsDouble(2);
24        }
25       
26        public double getVariance(){
27                return getAsDouble(3);
28        }
29       
30        public double getMin(){
31                return getAsDouble(4);
32        }
33       
34        public double getMax(){
35                return getAsDouble(5);
36        }
37       
38        public double getSum(){
39                return getAsDouble(6);
40        }
41       
42        public double getCount(){
43                return getAsDouble(7);
44        }
45       
46}
Note: See TracBrowser for help on using the repository browser.