Get first or last entry of a LinkedHashMap
I have used LinkedHashMap because the order in which keys are entered in the map is important.
Now I want to get the value of key in the first position (the first entered entry) or the last position.
Should there be methods like first() and last() or something like that?
Do I need to have an iterator to just get the first key entry? That is why I used LinkedHashMap!