Archive

Archive for September 26th, 2010

Google Collections

September 26th, 2010
Adrian Elsener

Why should we leave apache common collection?
There are several reasons to change the collections framework.
Since the apache collections should be backward compatible it would not be possible to change to a actual Java version. It would be necessary to change to another collection framework (or write all the stuff by yourself).
There are several projects which created a collections framework by themselves or took the apache collection library and upgraded it with generics.
Guava is a project like the apache commons. Since a few weeks the Google collection project is now in the guava project integrated.
I just will take a view to the collection package in the guava library.
What is in the guava-collection?
Helper classes for:

  • Lists, Sets Maps
  • New collection types
  • New immutables
  • Helpers for Iterator
  • read more

     

    google, Java , , ,