Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Programmer Certification (SCJP/OCPJP)
LinkedHashSet or LinkedList access
Joined: May 18, 2005
Sep 28, 2010 02:31:08
Which is faster to iterate
? 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:
subject: LinkedHashSet or LinkedList access
Linked List and Linked Hash Map
LinkedList vs ArrayList Iteration
Iteration speed of Collections
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014