课程: Learning Java Collections

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Collections framework architecture

Collections framework architecture - Java教程

课程: Learning Java Collections

Collections framework architecture

- [Tutor] Now let's shift gears and focus on working with data structures in Java. So that means we need to start unpacking the collections framework. The framework can be broken down into three sections, interfaces, algorithms, and implementations. The interfaces are the foundation of the platform because they are the main abstract types that determine what methods are available on collections, like the list, set, and map. Without implementations, we can't do much with just an interface. So the framework also provides several classes that implement the core interfaces and provide the underlying source code for the data structures. We also find algorithms in the framework that support working with collections. These are provided through static methods that give us functionality for working with collections like sorting and searching. These interconnected sections of the framework work together to provide…

内容