I want something where I can insert key/value pairs, and the order is the order that I insert the items in.
I have seen some posts regarding map’s, but it seems I have to write my own comparator for them.
I want the first item I insert to be the first stored, and the 2nd be the 2nd item in the collection ,etc.
Try using a
LinkedHashMap, from the javadocs: