Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes LinkedHashSet or LinkedList access Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "LinkedHashSet or LinkedList access" Watch "LinkedHashSet or LinkedList access" New topic
Author

LinkedHashSet or LinkedList access

Naresh Chaurasia
Ranch Hand

Joined: May 18, 2005
Posts: 356
Which is faster to iterate LinkedHashSet or LinkedList? Since both of them are Linked data structure, why would access to one of them be faster than another.


SCJP 1.4, SCWCD1.4, OCA(1Z0-007)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: LinkedHashSet or LinkedList access
 
Similar Threads
Collections
Linked List and Linked Hash Map
LinkedList vs ArrayList Iteration
Iteration speed of Collections
collecition class