->
Oreilly - Functional Programming with Streams in Java 9 - 9781787283060
Oreilly - Functional Programming with Streams in Java 9
by Marco Faella | Released May 2017 | ISBN: 9781787283060


Improve your Java 9 programs using Functional techniquesAbout This VideoUnderstand the functional programming concepts and how it differs from OOPWrite easy and maintainable codes with the lambda expressions and streamsDiscover the new features of Java 9 which will help you apply FP techniques to your codeIn DetailJava 8 introduced a wealth of new features, pushing Java towards the so-called functional programming paradigm. Benefits from this shift include succinctness and ease of developing robust multi-threaded applications.In this course, we will introduce the key functional features of Java 8 and 9, and explain how they can be used to write code that is more expressive and easily amenable to parallelization.Specifically, we will first discuss lambda functions and functional interfaces. Using these features, programmers can easily create objects that offer a single specific service, similarly to anonymous classes. We will also explore the predefined functional interfaces that can be found in the Java API, starting from well-known pre-existing ones like Comparator and Runnable.Reaping the full benefits of lambda functions requires employing them with streams, a new kind of collection with built-in parallelization support. We will examine the relationship between streams and collections, and how the latter have changed as a result of the new language features.Finally, after having mastered the key features of streams, we will consider the details related to parallel execution, such as the crucial notion of side-effect and the fork-join execution model. Show and hide more Publisher resources Download Example Code
  1. Chapter 1 : Introducing Functional Programming
    • The Course Overview 00:04:26
    • Installation and Setup 00:04:31
    • What Is Functional Programming? 00:09:13
    • Interfaces Get a Boost 00:08:32
    • Some Interfaces Are More Functional Than Others 00:06:02
  2. Chapter 2 : Lambda Expressions
    • Writing Your First Lambda Expression 00:09:00
    • Typing Lambda Expressions 00:07:29
    • Capturing Values 00:12:04
    • Method References 00:13:35
  3. Chapter 3 : Functional Interfaces
    • Pre-Existing Functional Interfaces 00:09:10
    • New Functional Interfaces 00:12:01
    • Functional Interfaces for Primitive Types 00:06:43
    • Composing Functions 00:10:57
  4. Chapter 4 : Sequential Data Processing with Streams
    • Comparing Streams, Collections, and Iterators 00:11:32
    • Creating a Stream 00:09:01
    • Understanding Lazy Evaluation 00:10:18
    • Streams as Monads 00:11:23
  5. Chapter 5 : Stream Operations
    • Filtering Stream Elements 00:14:53
    • Transforming and Rearranging Stream Elements 00:09:01
    • Basic Terminal Operations 00:13:49
    • Reductions and Collectors 00:26:19
    • Streams of Primitive Types 00:08:22
  6. Chapter 6 : Parallel Streams
    • Recognizing and Avoiding Statefulness and Side Effects 00:18:40
    • Using Parallel Streams 00:10:15
    • Looking Under the Hood: The fork-join Framework 00:07:07
  7. Chapter 7 : Functional Exercise
    • 2D Collision Detection 00:17:07
    • Two-Phase Collision Detection 00:21:33
  8. Show and hide more

    Oreilly - Functional Programming with Streams in Java 9


 TO MAC USERS: If RAR password doesn't work, use this archive program: 

RAR Expander 0.8.5 Beta 4  and extract password protected files without error.


 TO WIN USERS: If RAR password doesn't work, use this archive program: 

Latest Winrar  and extract password protected files without error.


 Coktum   |  

Information
Members of Guests cannot leave comments.




rss