|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/java-8-lambda-expressions/
课程评论:没有评论
课程名称:Java 8 Lambda 表达式 课程概述:本课程分为四个部分,涵盖了 Java 8 中的 Lambda 表达式的基础知识及其应用。 第一部分:Lambda 表达式基础介绍 - 这一部分将简要介绍 Lambda 表达式的基本概念。 第二部分:匿名内部类与 Lambda - 本节讲解如何将匿名内部类转换为 Lambda 表达式,并介绍如何为应用程序创建自定义 Lambda 接口。此外,还比较了匿名内部类和 Lambda 的优缺点,并解释了在何种情况下使用每种方式。 第三部分:深入了解 Lambda - 本节详细阐述与 Lambda 相关的概念,包括类型推断(type inferencing)、有效最终变量(effectively final)、方法和构造函数引用(method and constructor referencing)。 第四部分:函数式编程 - 本节介绍函数式编程的基本原理,并解释如何将这些原则应用于 Java 程序,提供了使用内置函数式接口的示例。 通过这门课程,学生将能够深入理解 Java 8 的 Lambda 表达式,并掌握其在实际编程中的应用。
This course is divided into four parts. 1 - Basic introduction to lambda expressions 2 - Anonymous inner classes and lambda - This section describes how to convert an anonymous inner class into a lambda expression. It also describes how to create custom lambda interfaces for our applications. It has another section which compares anonymous inner classes and lambdas and explains when to use each. 3 - Lambdas in detail - This section describes in detail the concepts related to lambdas. They are - type inferencing, effectively final, method and constructor referencing. 4 - Functional programming - This section has an introduction to functional programming. It also explains how these principles can be applied to Java programs. This section has examples to use built-in functional interfaces.