O'Reilly logo

Java™ Phrasebook by Timothy Fisher

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

4. Working with Data Structures

A data structure is a mechanism for organizing data used by your program. Whenever you are working with groups of similar data items, it’s a good idea to make use of a data structure. Java contains excellent built-in support for many different types of data structures, including arrays, lists, maps, and sets. Java bundles most of its classes for working with data structures into what is called the Collections Framework. The Collections Framework is a unified architecture for representing and manipulating collections or data structures. The most commonly used data structure classes are the ArrayList and the HashMap, and those classes are being focused on most in the phrases in this chapter.

The term data structures ...

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