To add to Kevin's advice, if you want order of iteration to remain the same as order of addition for a Map, use a LinkedHashMap.
Type: Posts; User: copeg
To add to Kevin's advice, if you want order of iteration to remain the same as order of addition for a Map, use a LinkedHashMap.