Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/nutch
/ add
Method
add
src/java/org/apache/nutch/util/Histogram.java:27–29 ·
view source on GitHub ↗
(E x)
Source
from the content-addressed store, hash-verified
25
private
int
totalCount = 0;
26
27
public
void
add(E x) {
28
add(x, 1);
29
}
30
31
public
void
add(E x, float value) {
32
HistogramEntry entry;
Callers
4
reduce
Method · 0.95
normalize
Method · 0.95
sortInverseByValue
Method · 0.45
sortByValue
Method · 0.45
Calls
4
getKeys
Method · 0.80
get
Method · 0.65
put
Method · 0.45
getValue
Method · 0.45
Tested by
no test coverage detected