MCPcopy 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

reduceMethod · 0.95
normalizeMethod · 0.95
sortInverseByValueMethod · 0.45
sortByValueMethod · 0.45

Calls 4

getKeysMethod · 0.80
getMethod · 0.65
putMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected