jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1197375 - /jmeter/trunk/src/jorphan/org/apache/jorphan/math/StatCalculator.java
Date Fri, 04 Nov 2011 00:49:39 GMT
Author: sebb
Date: Fri Nov  4 00:49:38 2011
New Revision: 1197375

URL: http://svn.apache.org/viewvc?rev=1197375&view=rev
Log:
Give access to sum

Modified:
    jmeter/trunk/src/jorphan/org/apache/jorphan/math/StatCalculator.java

Modified: jmeter/trunk/src/jorphan/org/apache/jorphan/math/StatCalculator.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/jorphan/org/apache/jorphan/math/StatCalculator.java?rev=1197375&r1=1197374&r2=1197375&view=diff
==============================================================================
--- jmeter/trunk/src/jorphan/org/apache/jorphan/math/StatCalculator.java (original)
+++ jmeter/trunk/src/jorphan/org/apache/jorphan/math/StatCalculator.java Fri Nov  4 00:49:38
2011
@@ -191,6 +191,10 @@ public abstract class StatCalculator<T e
         return count;
     }
 
+    public double getSum() {
+        return sum;
+    }
+
     protected abstract T divide(T val, int n);
 
     public void addValue(T val, int sampleCount) {



Mime
View raw message