posted 15 years ago
Hi All,
I am using a LinkedHashMap to save the key-value pairs in the order in which they were inserted.There are scenarios when i use LinkedHashMap's keySet() method to iterate the Map,so when we use the KeySet() method which returns the Set object,is their a garuntee that the returned Set objects contains the keys in the order in which it was in the Hashmap(insertion order).Are there any performance issue in using the same??Please suggest and advice..
Thanks!
[ November 09, 2008: Message edited by: Bala'J'i Rags ]
SCJP 1.5,SCWCD 1.5
Bala'J'i