Hashmap is put into alphabetical order?

Viewed 2423

I have a HashMap defined as follow:

private final Map<String, DataTable> reports = new HashMap();

When I put new entries into this HashMap they end up in Alphabetical order based on the key. Why is it doing this? How do I put them in the order I added them to the HashMap?

4 Answers
Related