最新消息:网盘下载利器JDownloader--|--发布资讯--|--解压出错.密码问题--|--最近盗号猖獗,弱密码的会员尽快改为复杂密码,不要跟别的网站密码一样.

Functional Programming with Streams in Java 9

其他教程 killking 1评论
Functional Programming with Streams in Java 9
Functional Programming with Streams in Java 9
MP4 | Video: 720p | Duration: 5:04:36 | English | Subtitles: VTT | 534.5 MB

Functional programming is an alternative to object-oriented programming that is centered around pure functions. Functional applications avoid the shared state, and tend to be more concise and predictable than those using object-oriented code. This course is designed for Java developers who want to transition to functional-style programming using the new language features in Java 9, including lambdas and the streams framework. Computer science professor Marco Faella shows how to use method references and lambda expressions to refer to existing methods and define new functions on the fly, and use streams to convert sequential processing tasks into parallel computations—maximizing your hardware's potential. Plus, see these concepts in action, in an example that shows how functional-style programming can be used improve the performance of collision detection algorithms in 2D games.

Note: To get the best results from this course, you should be familiar with basic Java programming concepts, including lists, maps, and sets, and have a suitable IDE, such as Eclipse, NetBeans, or IntelliJ.

This course was created and produced by Packt Publishing. We are honored to host this training in our library.

Topics include:

  • What is functional programming?
  • What are functional interfaces?
  • Writing lambda expressions
  • Creating functional interfaces
  • Composing functions
  • Sequential data processing with streams
  • Using parallel streams

您必须 登录 才能发表评论!

网友最新评论 (1)

  1. Java 9中的Streams函数编程 函数编程是围绕在纯函数的OOP编程的另一种选择。函数应用程序避免了共享状态,并倾向于比使用面向对象代码更准确、更可预测。本教程专为希望使用Java 9中新语言功能,转向函数风格编程的Java开发者所设计,这些新功能中包括lambdas和streams框架。计算机科学教师Marco Faella会演示如何使用方法引用和lambda表达式引用已有方法,并可以迅速地定义定义新函数,以及使用streams转换序列化处理任务为并行计算——从而将硬件的性能发挥到最大化。另外,通过通过例子的演示可以看到函数风格编程可以被用于改进在2D游戏中冲突侦测算法的性能。 注意:要从教程取得最好的效果,你应当熟悉基本的Java编程概念,包括列表、map、集合以及一款合适的IDE,如Eclipse、NetBeans或Intellij。 主要内容: • 何为函数编程 • 何为函数接口 • 编写lambda表达式 • 创建函数接口 • 构成函数 • 通过Streams处理序列化数据 使用并行Streams
    wilde(特殊组-翻译)10个月前 (11-30)