Data Structures in Java: Part 2, What Is a Collection?

Baldwin explains some of the details surrounding the use of a Java collection for creating data structures. He also discusses the interfaces and the concrete implementations in the Java Collections Framework.

provided by: 
Originally published at Internet.com


Java Programming, Lecture Notes #1352 * Preface * Preview * Introduction * Discussion * Summary * What's Next -----------------------------------

Preface

This is the second lesson in a miniseries on Java data structures and the Java Collections Framework. The first lesson in the miniseries was entitled Data Structures in Java: Part 1, Getting Started.

The purpose of this miniseries is to help you learn the essential features of Object-Oriented data structures in Java using the Collections Framework.

Supplementary material

I recommend that you also study the other lessons in my extensive collection of online Java tutorials. You will find those lessons published at Gamelan.com. However, as of the date of this writing, Gamelan doesn't maintain a consolidated index of my Java tutorial lessons, and sometimes they are difficult to locate there. You will find a consolidated index at Baldwin's Java Programming Tutorials.

The index on my site provides links to the lessons at Gamelan.com.

Preview

Collection is not only the name of a Java interface, it is also the term given to an object that groups multiple elements into a single unit.

In this lesson, I will discuss how elements are stored in a collection, and why it is often necessary to use a downcast when retrieving and processing those elements...

Read article at Internet.com site
Regional Articles
- Data Structures in Java: Part 2, What Is a Collection? Alabama
- Data Structures in Java: Part 2, What Is a Collection? Alaska
- Data Structures in Java: Part 2, What Is a Collection? Arizona
- Data Structures in Java: Part 2, What Is a Collection? Arkansas
- Data Structures in Java: Part 2, What Is a Collection? California
- Data Structures in Java: Part 2, What Is a Collection? Colorado
- Data Structures in Java: Part 2, What Is a Collection? Connecticut
- Data Structures in Java: Part 2, What Is a Collection? DC
- Data Structures in Java: Part 2, What Is a Collection? Delaware
- Data Structures in Java: Part 2, What Is a Collection? Florida
- Data Structures in Java: Part 2, What Is a Collection? Georgia
- Data Structures in Java: Part 2, What Is a Collection? Hawaii
- Data Structures in Java: Part 2, What Is a Collection? Idaho
- Data Structures in Java: Part 2, What Is a Collection? Illinois
- Data Structures in Java: Part 2, What Is a Collection? Indiana
- Data Structures in Java: Part 2, What Is a Collection? Iowa
- Data Structures in Java: Part 2, What Is a Collection? Kansas
- Data Structures in Java: Part 2, What Is a Collection? Kentucky
- Data Structures in Java: Part 2, What Is a Collection? Louisiana
- Data Structures in Java: Part 2, What Is a Collection? Maine
- Data Structures in Java: Part 2, What Is a Collection? Maryland
- Data Structures in Java: Part 2, What Is a Collection? Massachusetts
- Data Structures in Java: Part 2, What Is a Collection? Michigan
- Data Structures in Java: Part 2, What Is a Collection? Minnesota
- Data Structures in Java: Part 2, What Is a Collection? Mississippi
- Data Structures in Java: Part 2, What Is a Collection? Missouri
- Data Structures in Java: Part 2, What Is a Collection? Montana
- Data Structures in Java: Part 2, What Is a Collection? Nebraska
- Data Structures in Java: Part 2, What Is a Collection? Nevada
- Data Structures in Java: Part 2, What Is a Collection? New Hampshire
- Data Structures in Java: Part 2, What Is a Collection? New Jersey
- Data Structures in Java: Part 2, What Is a Collection? New Mexico
- Data Structures in Java: Part 2, What Is a Collection? New York
- Data Structures in Java: Part 2, What Is a Collection? North Carolina
- Data Structures in Java: Part 2, What Is a Collection? North Dakota
- Data Structures in Java: Part 2, What Is a Collection? Ohio
- Data Structures in Java: Part 2, What Is a Collection? Oklahoma
- Data Structures in Java: Part 2, What Is a Collection? Oregon
- Data Structures in Java: Part 2, What Is a Collection? Pennsylvania
- Data Structures in Java: Part 2, What Is a Collection? Rhode Island
- Data Structures in Java: Part 2, What Is a Collection? South Carolina
- Data Structures in Java: Part 2, What Is a Collection? South Dakota
- Data Structures in Java: Part 2, What Is a Collection? Tennessee
- Data Structures in Java: Part 2, What Is a Collection? Texas
- Data Structures in Java: Part 2, What Is a Collection? Utah
- Data Structures in Java: Part 2, What Is a Collection? Vermont
- Data Structures in Java: Part 2, What Is a Collection? Virginia
- Data Structures in Java: Part 2, What Is a Collection? Washington
- Data Structures in Java: Part 2, What Is a Collection? West Virginia
- Data Structures in Java: Part 2, What Is a Collection? Wisconsin
- Data Structures in Java: Part 2, What Is a Collection? Wyoming

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

Topics:
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML