Java Container Classes Overview

Source: Internet
Author: User
1. Introduction

A container is an object that processes a complex set of elements in a single unit. The use of the set frame can theoretically reduce the programming workload, improve the speed and quality of the program, after all, the class library to help us implement the set to a certain extent, the best. In Java, a collection framework is implemented for the user through Java.util, which uses a unified architecture to represent and manipulate all collections, including the following:

  • Interface: Represents the abstract data type of a collection, which separates the specific implementation of the container from the provided interface;
  • Implement: Represents the specific implementation of the collection interface;
  • Algorithms: Some generic algorithms that are provided for elements in the collection, such as Find, sort;
2.Java Container class Diagram

In this class diagram contains the iterator iterator, the basic root interface of the container sequence collection, the container list,set,queue and the map, these containers derive some abstract container classes, followed by the JDK through the source of the specific analysis of each container interface, Implementations and their corresponding algorithms, and to study how these are implemented in the JDK, here is the start.

Java Container Classes Overview

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.