79427714

Date: 2025-02-10 16:41:12
Score: 2
Natty:
Report link

.get() Method returns a value associated with a key that you pass in the .get() method, not the index.

So because you pass in 0 and not 0L it looks for a Integer key of 0 while you listed Long for a key in your HashMaps generics.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Yermekov Aibar