3 ms·Python has OrderedDict.by karmakaze 8y agoPython has OrderedDict.detaro 8y agoOrderedDict is ordered by order of insertion, TreeMap is ordered by key value.karmakaze 8y agoLogically equivalent to LinkedHashMap, thought it was the other. I should use Python more often.