/** * This method returns total number of elements in this CounterMap * @return */ public int totalSize() { int size = 0; for (F first: keySet()) { size += getCounter(first).size(); } return size; } }
/** * This method returns total number of elements in this CounterMap * @return */ public int totalSize() { int size = 0; for (F first: keySet()) { size += getCounter(first).size(); } return size; } }