This page is optimized for mobile devices, if you would prefer the desktop version just click here

Java4010: getting started with java collections

The purpose of this module is to introduce you to the Java Collections Framework. Once you learn how to use the framework, it is unlikely that you will need to reinvent common data structures, search algorithms, or sorting algorithms again, because those capabilities are neatly packaged within the framework.

Revised: Tue Apr 05 13:19:04 CDT 2016

This page is included in the following Books:

Table of contents

Preface

This module is one of a series of modules designed to teach you about Object-Oriented Programming in general and the Java Collectionsframework in particular.

The purpose of this module is to introduce you to the Java Collections Framework. Once you learn how to use the framework, it is unlikely that you will need to reinvent common data structures, search algorithms, or sorting algorithms again, because those capabilities are neatly packaged within the framework.

In addition to studying these modules, I strongly recommend that you study the Collections Trail in Oracle's Java Tutorials . The modules in this collection are intended to supplement and not to replace those tutorials.

Viewing tip

I recommend that you open another copy of this module in a separate browser window and use the following links to easily find and view the listings while you are reading about them.

Listings

Preview

This module provides a brief introduction to the use of the Java Collections Framework . The framework is designed to encourage you to reuse rather than to reinvent collections and maps.

A collection represents a group of objects, known as its elements. Some collections allow duplicate elements while others do not. Some collections areordered and others are not. (Maps will be discussed in future modules.)

<< Chapter < Page Page > Chapter >>

Read also:

OpenStax, Object-oriented programming (oop) with java. OpenStax CNX. Jun 29, 2016 Download for free at https://legacy.cnx.org/content/col11441/1.201
Google Play and the Google Play logo are trademarks of Google Inc.
Jobilize.com uses cookies to ensure that you get the best experience. By continuing to use Jobilize.com web-site, you agree to the Terms of Use and Privacy Policy.