Book Detail : Functional Programming in Java

Book Title: 
Functional Programming in Java
Resource Category: 
Publication Year: 
2 014
Number of Pages: 
160
ISBN: 
978-1-93778-546-8
Language: 
English
WishList: 
yes
Available at Shelf: 
No
Description: 

Harnessing the Power Of Java 8 Lambda Expressions

Table of Contents (Summary): 
  1. Hello, Lambda Expressions!

  2. Using Collections

  3. Strings, Comparators, and Filters

  4. Designing with Lambda Expressions

  5. Working with Resources

  6. Being Lazy

  7. Optimizing Recursions

  8. Composing with Lambda Expressions

  9. Bringing It all Together

A1. Starter Set of Functional Interfaces

A2. Syntax Overview

A3. Web Resources

Bibliography

Table of Contents (Expanded): 
  1. Hello, Lambda Expressions!

    • ​​Change the Way You Think

    • The Big Gains of Functional-Style Code

    • Why Code in the Functional Style?

    • Evolution, Not Revolution

    • A Little Sugar to Sweeten

    • Recap

  2. Using Collections

    • Iterating through a List

    • Transforming a List

    • Finding Elements

    • Reusing Lambda Expressions

    • Using Lexical Scoping and Closures

    • Picking an Element

    • Reducing a Collection to a Single Value

    • Joining Elements

    • Recap

  3. Strings, Comparators, and Filters

    • ​​Iterating a String

    • Implementing the Comparator Interface

    • Multiple and Fluent Comparisons

    • Using the collect Method and the Collectors Class

    • Listing All Files in a Directory

    • Listing Select Files in a Directory

    • Listing Immediate Subdirectories Using flatMap

    • Watching a File Change

    • Recap

  4. Designing with Lambda Expressions

    • ​​Separating Concerns Using Lambda Expressions

    • Delegating Using Lambda Expressions

    • Decorating Using Lambda Expressions

    • A Peek into the default Methods

    • Creating Fluent Interfaces Using Lambda Expressions

    • Dealing with Exceptions

    • Recap

  5. Working with Resources

    • ​​Cleaning Up Resources

    • Using Lambda Expressions to Clean Up Resources

    • Managing Locks

    • Creating Concise Exception Tests

    • Recap

  6. Being Lazy

    • ​​Delayed Initialization

    • Lazy Evaluations

    • Leveraging the Laziness of Streams

    • Creating Infinite, Lazy Collections

    • Recap

  7. Optimizing Recursions

    • ​​Using Tail-Call Optimization

    • Speeding Up with Memoization

    • Recap

  8. Composing with Lambda Expressions

    • ​​Using Function Composition

    • Using MapReduce

    • Taking a Leap to Parallelize

    • Recap

  9. Bringing It all Together

    • ​​Essential Practices to Succeed with the Functional Style

    • Performance Concerns

    • Adopting the Functional Style

A1. Starter Set of Functional Interfaces

A2. Syntax Overview

A3. Web Resources

Bibliography

3.18182
Average: 3.2 (264 votes)

Search the Web

Custom Search

Searches whole web. Use the search in the right sidebar to search only within javajee.com!!!