Integer map boxing on primitives

Code reviewHard22 min

Your task

Review this Java method that counts occurrences of each integer key in a high-volume stream of events.