Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antlr/codebuff
/ mean
Method
mean
src/org/antlr/codebuff/misc/BuffUtils.java:140–146 ·
view source on GitHub ↗
(Collection<Double> data)
Source
from the content-addressed store, hash-verified
138
}
139
140
public
static
double mean(Collection<Double> data) {
141
double sum = 0.0;
142
for
(Double d : data) {
143
sum += d;
144
}
145
return
sum / data.size();
146
}
147
}
Callers
2
computeConsistency
Method · 0.45
examineCorpus
Method · 0.45
Calls
1
size
Method · 0.65
Tested by
no test coverage detected