<< Chapter < Page Chapter >> Page >
The Java Collections Framework defines eight core interfaces, in two distinct trees. You will learn about the inheritance structure and the purpose of those interfaces. You will also learn how the interfaces declare polymorphic methods that apply to implementations of the interfaces, and you will learn about the optional methods of the Collection and Map interfaces.

Revised: Wed Apr 06 08:39:26 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(OOP) in general and the Java Collections framework in particular.

The Java Collections Framework defines eight core interfaces, in two distinct trees. You will learn about the inheritance structure and the purpose of those interfaces.You will also learn how the interfaces declare polymorphic methods that apply to implementations of the interfaces, and you will learn about the optional methods of the Collection and Map interfaces.

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

In earlier modules, you learned that at least three things are included in a collections framework:

  • interfaces
  • implementations
  • algorithms

Earlier modules provided a general discussion of the purpose of the interfaces, implementations, and algorithms in the Collections Framework . This module takes that discussion further and illustrates the use of the core collection interfaces.

The Java Collections Framework defines eight core interfaces, in two distinct trees. You will learn the names and the inheritance structure of thoseinterfaces. You will also learn about the purpose of some of those interfaces. You will seehow the interfaces declare polymorphic methods that apply to implementations of the interfaces, and you will learn about the optional methods of the Collection interface.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  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.

Notification Switch

Would you like to follow the 'Object-oriented programming (oop) with java' conversation and receive update notifications?

Ask