|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/learn-java-collection-framework-and-generics-in-simple-way/
课程评论:没有评论
**课程名称:** 简洁学习Java集合框架和泛型 **课程概述:** 本课程(包括付费与免费部分)旨在帮助学习者深入理解Java的核心概念,特别是集合框架和泛型。 **付费课程内容涵盖:** * Java基础(第一、二部分) * 面向对象编程(OOPs)概念 * Java多线程 * 高级Java(JDBC,Servlets,JSP,JSTL)Web开发 * Java集合框架与泛型(本课程重点) **免费课程内容:** * Java包装类 * Java的"this"关键字 **课程重点模块:** 1. 数组 2. List及其实现类 3. 集合的迭代器/游标(Cursors) 4. Set及其实现类 5. Comparble和Comparator接口 6. Queue及其实现类 7. Map及其实现类 8. 泛型 **课程优势:** 1. **内容全面:** 对每个主题都提供详尽的讲解。 2. **理论与实践并重:** 帮助学习者在理论和编程实践上都打下坚实基础。 3. **进阶技术平台:** 为学习JDBC、Servlets、JSP、Hibernate、JPA、Spring等高级技术和框架奠定良好基础。 4. **面试准备:** 课程内容涵盖了绝大多数面试常见问题及其答案。 5. **资料可下载:** 提供所有课程内容的下载资料。 **List与Set的区别:** | 特性 | List | Set | | :------------- | :--------------------------------------- | :-------------------------------------------------------------- | | **索引** | 基于索引,按索引存储元素 | 非基于索引,基于元素的哈希码值存储元素 | | **重复元素** | 允许重复元素 | 不允许重复元素 | | **Null值** | 允许任意数量的null值 | 只允许一个null值 | | **插入顺序** | 遵循插入顺序 | 默认不遵循插入顺序(LinkedHashSet遵循) | | **排序顺序** | 不遵循排序顺序 | 默认不遵循排序顺序(SortedSet, NavigableSet, TreeSet遵循排序顺序) | | **元素类型** | 允许异构元素(所有类型) | 默认允许异构元素(SortedSet, NavigableSet, TreeSet只允许同构元素) | **集合(Collection):** * Java JDK 1.2 版本引入的接口。 * 可以将一组独立的元素表示为一个整体单元。 * 为所有实现类提供了通用的方法。
Payed Courses:1. Complete Core Java in Simple Way2. Complete Core Java In Simple Way Part-23. Learn Object Oriented Programming (OOPs) Concepts in Java4. Learn Java Multithreading In Simple Way5. Advanced Java (JDBC,Servlets,JSP,JSTL) For Web Development6. Learn Java Collection Framework and Generics in Simple Way [New]Free Courses:1. Learn Java Wrapper Classes in Simple Way - Free Course2. Learn 'this' Keyword in Java - Free CourseI will focus mainly on 1. Arrays 2. List and its implementations 3. Iterators/Cursors in Collections 4. Set and its Implementations 5. Comparable and Comparator 6. Queue and its Implementations 7. Map and its Implementations 8. GenericsBenefits of this course:1. This Course will provide completeness on every topic.2. This Course will make you to Strong on Theoritically and Programmatically. 3. This Course will provide Good Platform for the AdvancedTechnologies and Frameworks like Jdbc, Servlets, Jsps, Hibernate, JPA, Spring,......4. This Course includes almost all the interview Questions and Answers as part of the Course internally. 5. This Course will provide Downloadable Material for all the topics which are provided in Course Content.Q) What are the differences between List and Set?• List is index based, it able to allow all the elements as per indexing.Set is not index based, it able to allow all the elements on the basis of elements hash code values. • List is able to allow duplicate elements.Set is not allowing duplicate elements.• List is able to allow any number of null values.Set is able to allow only one null value.• List is following insertion order.Set is not following insertion order by default. Note: LinkedHashSet is following insertion order.• List is not following sorting order.Sets are not following sorting order by default.Note: SortedSet, NavigableSet and TreeSet are following Sorting order.• List is able to allow heterogeneous elements.Sets are able to allow heterogeneous elements by default.Note: SortedSett, NavigableSet and TreeSet are allowing only Homogeneous elements. Collection: • It is an interface provided by JAVA along with JDK 1.2 version.• It able to represent a group of individual elements as single unit.• It has provided the following methods common to every implementation class.