O'Reilly logo

A Programmer’s Guide to Java® SE 8 Oracle Certified Associate (OCA) by Rolf W Rasmussen, Khalid A Mughal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

10. The ArrayList<E> Class and Lambda Expressions

Image

10.1 The ArrayList<E> Class

A program manipulates data, so organizing and using data efficiently are naturally important in a program. Data structures are ways to organize data. Java uses the term collection to mean a data structure that can maintain a group of objects so that the objects can be manipulated as a single entity or unit. Objects can be stored, retrieved, and manipulated as elements of a collection. The term container is also used in the literature for such data structures. Arrays are an example of one kind of collection. Other examples include lists, sets, queues, and stacks, among ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required