How to retrieve an element from HashMap by its position, is it possible at all?
HashMap has no concept of position so there is no way to get an object by position. Objects in Maps are set and get by keys.