|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/java-9-to-java-17/
课程评论:没有评论
课程名称:Java 9 到 Java 17:在约60分钟内学习12个新特性 课程概述:本课程为希望快速了解Java 9至Java 17之间12个新增特性的Java开发者设计。这12个特性是在Java 9之后新增的,作为当前长期支持版本的特性,能够帮助开发者在日常编程中更高效地工作。课程内容通过示例驱动,每个特性的讲解均以代码为基础,时长约为5分钟。在教学中,可能会涉及到JUnit、OpenJFX、Jackson和OpenCSV等库,但学员无需事先掌握这些库。课程侧重于12个新特性,学员需要具备基本的Maven和JUnit知识,并通过完成一系列有趣的练习来加深学习效果。 课程内容涵盖: - 使用集合工厂方法创建不可修改集合 - 利用Collectors类中新增的便捷方法进行扁平映射和流元素过滤 - 使用局部变量类型推断编写简洁代码 - 了解String、Files类以及Predicate和Path接口的API变更 - 利用Teeing Collector对流中的每个元素执行两项操作并合并结果 - 学习Switch表达式,编写易于理解的代码 - 通过Helpful NullPointerExceptions准确检测空指针异常的原因 - 使用Text Blocks表示多行字符串 - 实现instanceof的模式匹配 - 创建不可变数据载体(Records) - 使用密封类(Sealed Classes)关闭层次结构 完成课程后,学员将对现代Java特性有良好的理解,这将帮助他们成为更高效的程序员。
This crash course is for Java developers who want to quickly learn 12 additions to the Java language between Java 9 and Java 17, the current Long Term Support release. Since Java 9, the Java language and platform contain numerous changes but the twelve features introduced in this course will get utilized often in your day-to-day life as a Java programmer. The course is driven completely using examples, every feature explained via code in around 5 minutes. In some of the examples, we will utilize JUnit, OpenJFX, Jackson, and OpenCSV - You don't need to know any of these libraries. The focus will be on the 12 features. Basic knowledge of Maven and JUnit is required. You will also get to reinforce your learning by solving a bunch of interesting exercises.We will go through the following:Learn how to create unmodifiable collections using Collection Factory methodsLearn how to utilize handy methods introduced in the Collectors class for flat mapping and filtering elements in a stream pipelineLearn how to write concise code using Local-Variable Type InferenceLearn handy API changes in String, Files class, and the Predicate, Path interfaceLearn to utilize the Teeing Collector to perform 2 operations on every element in the Stream and then merge resultsLearn Switch Expressions to write code that is easy to understandDetect the exact cause of a NullPointerException by using Helpful NullPointerExceptionsLearn how to represent multi-line Strings using Text BlocksLearn Pattern Matching for instanceofCreate Immutable data carriers using RecordsClose your hierarchy using Sealed ClassesBy the end of the course, you will get a good understanding of Modern Java features. These features will help you be a more productive programmer.