WELCOME TO JAVA FAQS
How LinkedHashSet is different from HashSet?
LinkedHashSet maintains a linkedlist of entries in the set.It guarantee the insertion order of elements. But HashSet does not guarantee the insertion order of elements.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment