/** * Increments an entry * * @param value the value that should be incremented * @param count the number by which to increment * @return the current object */ public CountDistributionBuilder add(Object value, int count) { if (count == 0) { addZero(value); } else { if (this.countBag.add(value, count)) { //hack this.countBag.add(value, 1); } } return this; }