Cover  by Poornachandra Sarang

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

image

CHAPTER

16

Collections

imagef you have taken a course on data structures in your computer science curriculum, you have used collections. In our earlier chapters, we used the Vector class and ArrayList. These classes are nothing but a part of the Collections framework. A collection is simply an object that groups multiple objects into a single unit, making it easier to perform group operations on them, to search quickly through thousands of sorted items, to insert and remove elements in the middle of an ordered sequence, and so on. Collections store and ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required