File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
LinkedList vs ArrayList Iteration
Iteration speed of Collections
Linked List and Linked Hash Map
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015