KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am using a linkedHashMap to guarantee order when someone tries to access it. However, when it comes time to iterate over it, does using entrySet() to return key/value pairs guarantee order as well? No changes will be made while iterating. EDIT: Also, are there any adverse effects from iterating through the map by iterating through its keys and calling get?
Tags (comma-separated)
Save Edits
Cancel