I am trying to perform some averaging functions within a program using a Map and I found myself going back to the array for some steps. I don't want to do this, I would like to have the collection handle these tasks but need some pointers. THanks!
What are you asking? Think about switching average to a running sum. If you want to use a map again then make average a map that stores integers. That might not be very helpful. Clarify what you want to do.