This class makes no guarantees as to the order of the map; in particular, it does not guarantee that the order will remain constant over time.
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch Getting someone to think and try something out is much more useful than just telling them the answer.