I have this HashMap<String, ArrayList<Item>> , is there a way to count the total number of items in all the Lists in the Map without going through all Lists?

Or should I iterate through the Map and along all lists ?

Edit
Report