Chapter 4. Working with Collections

Collections are essential to any programming language. We simply cannot write a program of any significance without using collections. The Guava library has its history rooted in working with collections, starting out as google-collections. The Google Collections Library has long since been abandoned, and all the functionality from the original library has been merged into Guava. We can get a sense of the importance of working with collections just by looking at the number of classes in the package; by far, it contains the largest number of classes compared to the other packages in Guava. Given the size of the package, we simply won't be able to cover everything. ...

Get Getting Started with Google Guava now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.