Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to disable sorting in hash map

807605Sep 18 2007 — edited Sep 18 2007
im adding like this ,

Map Params = new HashMap();

params.put("orderYear", "1");
params.put("distrChannel", "2");
params.put("salesOffice", "3");

while iterating answer is coming like this

1
3
2

but i want

1
2
3

thanks in advance
gowri
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 16 2007
Added on Sep 18 2007
7 comments
2,695 views