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

Revision 104, 724 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 */
8
9public class AccResourcesReader extends StatsReader {
10       
11        public AccResourcesReader(StatsParser p) {
12                super(p);
13        }
14
15        public String getResourceName(){
16                return this.values[0];
17        }
18       
19        public String getMetricName(){
20                return this.values[1];
21        }
22       
23        public double getMean(){
24                return getAsDouble(2);
25        }
26       
27        public double getStandardDeviation(){
28                return getAsDouble(3);
29        }
30       
31        public double getVariance(){
32                return getAsDouble(4);
33        }
34       
35        public double getMin(){
36                return getAsDouble(5);
37        }
38       
39        public double getMax(){
40                return getAsDouble(6);
41        }
42       
43        public double getSum(){
44                return getAsDouble(7);
45        }
46       
47        public double getCount(){
48                return getAsDouble(8);
49        }
50       
51}
Note: See TracBrowser for help on using the repository browser.