Google Collections Tutorial - Java
Home » Java

Introduction to Google Collections

7 January 2010 No Comment

Introduction to Google Collections

We all know what is Java Collection Framework? Also, we have seen collection framework changing over past few years. We have seen Java introducing new APIs, and also generics getting introduced in the Tiger release. Now we have Google Collections, which are based on Java collection framework but enhance it to introduce new most commonly required features. These features are required during any real life use of Java Collection Framework. Multi key collections, collection having combined features of two Java Collections, and so many APIs that allow many day to day transformations of these collection objects constitute Google Collections.

Below are the important elements of Google Collections.

Collection Types OR Interfaces: These define the types of collections available. These interfaces define contract of manipulation of these types independent of their implementation. Most of the collection types are to serve a specific purpose.

Classes: These abstract or concrete classes provide partial or complete implementation of collection types. They construct enhanced data structures which can be directly used for a defined purpose.

Annotations: Three annotations constitute this group. These annotations tag a class as Google Web Toolkit compatible, Google Web Toolkit incompatible and Visible to Test.

Base OR Util: These are a set of interfaces and types that are used to support the main collection and annotation classes.

 

More Related Posts in Java

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.