392393394395396397398399400401402
totalCount -= getCount(key); // subtract removed count from total (may be 0) MutableInteger val = map.remove(key); if (val == null) { return Double.NaN; } else { return val.doubleValue(); } } /** * Removes all the given keys from this Counter.