1.Java Set Frame Chart
-Collection Interface: 6 interfaces (short dotted lines), representing different collection types, are the basis of the collection framework.
-Abstract class: 5 abstract classes (long dotted line representations), partial implementations of the collection interface. Can be extended to a custom collection class.
-Implementation class: 8 implementation classes (real line representation), the implementation of the interface.
2.Java Container Class Introduction
The ①java container class can automatically adjust its own size.
The ②collection interface is a set of objects that allow duplicates.
③set interface Inherits Collection, does not allow duplication, uses one of its own internal arrangement mechanism.
The ④list interface inherits Collection, allows duplicates, places elements in the order in which they are placed, and does not rearrange them.
The ⑤map interface is a key-value object consisting of a pair, that is, a key-value pairs is held. There cannot be duplicate key in map. have their own internal arrangement mechanism.
Java 2 Simplified Set frame diagram