I am using LinkedHashMap. I will always process the first value and that can be deleted (if possible) so that during the next iteration I will again take the same first value from the map to process. What can I use to get the first value.
I am using LinkedHashMap . I will always process the first value and that
Share
You can use this to get the first element key:
then to get the value:
and finally to remove that entry: