Does Java's LinkedHashMap maintain the order of keys?

Viewed 45197

When LinkedHashMap.keySet() is called, will the order of the Set returned be the same as the order the keys were added in?

2 Answers
Related