Skip to content

Commit 4348004

Browse files
committed
Improve javadoc
1 parent a687e61 commit 4348004

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libs/exponential-histogram/src/main/java/org/elasticsearch/exponentialhistogram/ExponentialHistogram.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ public abstract class ExponentialHistogram implements Accountable {
103103
public abstract double sum();
104104

105105
/**
106-
* Returns the sum of the counts of all values represented by this histogram.
106+
* Returns the number of values represented by this histogram.
107+
* In other words, this is the sum of the counts of all buckets including the zero bucket.
107108
*
108109
* @return the value count, guaranteed to be zero for empty histograms
109110
*/

0 commit comments

Comments
 (0)