Results 1 to 3 of 3
Thread: ArrayList vs LinkedList
- 02-27-2011, 01:59 AM #1
Member
- Join Date
- Mar 2009
- Posts
- 70
- Rep Power
- 0
-
They are both lists but optimized for different situations. LinkedList is optimized for getting information sequentially while an ArrayList is better at getting information by index (anyone -- please correct if wrong).
Please look here: http://onjava.com/pub/a/onjava/2001/...imization.htmlLast edited by Fubarable; 02-27-2011 at 02:05 AM.
- 02-27-2011, 02:08 AM #3
Moderator
- Join Date
- Feb 2009
- Location
- New Zealand
- Posts
- 4,561
- Rep Power
- 11
Similar Threads
-
how to add Arraylist filter for a jsp page showing results from a servlet-Arraylist
By alok_sharma in forum Java ServletReplies: 7Last Post: 11-22-2010, 01:26 PM -
LinkedList help
By jigglywiggly in forum New To JavaReplies: 6Last Post: 09-19-2009, 07:24 AM -
Java Project Trouble: Searching one ArrayList with another ArrayList
By BC2210 in forum New To JavaReplies: 2Last Post: 04-21-2008, 11:43 AM -
Creating an ArrayList from an existing LinkedList
By Java Tip in forum Java TipReplies: 0Last Post: 12-05-2007, 02:09 PM -
how to use LinkedList
By fred in forum Advanced JavaReplies: 1Last Post: 07-24-2007, 01:52 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks