Switch from ArrayList and HashMap to List and Map.
Use ArrayList and HahsMap When creating new objects, but when determining what to return from a method use List to generalize.
Use ArrayList and HahsMap When creating new objects, but when determining what to return from a method use List to generalize.