Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Alternative data structures to ArrayList

Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hiya All

I am trying to compare the advantages and disadvantages to alternative data structures to Arraylists that could be used for storing collections. Such as Arrays, Hashmaps, LinkList etc etc.

Is there are websites or good books or can any tell me any information that compares any of these. I wanna such information such as efficeny - the big o notation, speed etc etc

Any advice would be a great help

Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You should probably start with the Collections trail from the Java Tutorial. This will give you a good introduction to the various data structures that are available with the Java API. For more online information, you can google for "Java Collections Framework" or something similar.

You should also check out the Java API documentation. This is the core documenation for ALL the standard classes. The classes in Collections Framework are primarily located in the java.util package. The documentation for these classes usually give the algorithmic complexity (Big-Oh notation) for the important methods.

This tiny ad is guaranteed to be gluten free.
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic