|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/whats-new-in-java-8/
课程评论:没有评论
课程名称:Java 8的新特性:Lambda 表达式 概述:本课程为两部分课程中的第一部分,重点介绍Java 8的新特性。在这一部分中,我们将深入探讨Lambda表达式及其支持特性,包括函数式接口和类型推断等内容。在后续课程(第二部分)中,我们将介绍其余特性。 通过观看此课程,您将能够: - 对Java 8的新特性有一个全面的了解 - 深入理解Lambda表达式的背景、语法、实现细节及其使用方式 - 理解函数与类之间的区别及其与Lambda表达式的相关性 - 理解Lambda表达式与闭包之间的区别 - 认识到类型推断的改进推动了许多新特性的发展 - 使用方法引用,并理解作用域和“有效最终”概念 - 理解使用Lambda表达式时生成的字节码的差异 - 理清在使用Lambda表达式时的异常及异常处理最佳实践 无论您是将现有的Java程序迁移到Java 8,还是从头开始构建应用程序,本课程都将帮助您开始利用Java平台上的函数式编程的强大功能。
This is PART 1 of a two part course looking at the new features of Java 8. In this part, we take an in-depth look at lambdas and their supporting features; things like functional interfaces and type inference. In the follow up course (PART 2), we look at the remaining features. After watching this course, you'll Have an overview of new features in Java 8 Understand lambdas in-depth, their background, syntax, implementation details and how and when to use them Understand the difference between functions to classes and why that's relevant to lambdas Understand the difference between lambdas and closures Appreciate the improvements to type inference that drive a lot of the new features Be able to use method references and understand scoping and "effectively final" Understand the differences in bytecode produced when using lambdas Be able to reason about exceptions and exception handling best practice when using lambdasvariables So whether you're migrating existing Java programs to Java 8 or building applications from scratch, this course will help you start to leverage the power of functional programming on the Java platform.