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 Head First Android this week in the Android 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: 361
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)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: LinkedHashSet or LinkedList access
 
jQuery in Action, 3rd edition