|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/java-generics-in-depth/
课程评论:没有评论
课程名称:Java 泛型深入解析 课程概述: 在编写自己的类型时,你多频繁使用 Java 泛型?Java 泛型是 Java 中一个被低估且未被充分利用的特性。虽然在处理集合类时,Java 泛型是必备技能,但其真正的力量在于为自定义类型使用泛型!大多数 Java 开发者对泛型的了解只是皮毛,然而,深入理解泛型会为你的 Java 代码增添一维,使其更具类型安全性和更易于操作。 本课程将深入探讨 Java 泛型,将其从一个令人头疼的主题转变为愉快的使用体验。课程内容包括: - 学习泛型与基本类型的结合使用及其与 Java 另一个特性——自动装箱和拆箱的关系 - 理解什么是参数化类型,添加参数到类型信息的含义 - 学会创建自定义泛型类型 - 泛型在继承和多态方面的影响 - 理解泛型的通配符,上界和下界 - 学习如何在静态方法中使用泛型类型 本课程以独特的 Java Brains 风格教授,涵盖了使用泛型的全部知识,使你能够在 Java 代码中灵活运用泛型的力量,并理解其他 Java 代码中的泛型语法。
How often do you use Java Generics when writing your own types?Java Generics is very much an underrated and underutilized feature of Java. Yes, Java Generics is a necessary skill when working with Collection classes. But the true power lies with using it for your own types!Most Java developers get by with a rudimentary knowledge of Generics. However a good understanding of Generics adds an extra dimension to your Java code that makes it more type-safe and easier to work with.This course covers an in-depth treatment to Java Generics and turn it from being a pain to being a joy to use. Topics covered:- Learn how Generics works with primitive types in conjunction with another Java feature - autoboxing and unboxing- Understand what parameterized types are. What does it mean to add parameter to type information?- Learn how to create your own custom generic types- Implications of Generics with inheritance and polymorphism- Understand wildcards, upper bounds and lower bounds with Generics- Learn how to work with static methods using Generic typesTaught in the inimitable Java Brains style, this course covers everything you need to know to wield the power of Generics in your Java code as well as understand Generics syntax in other Java code.