Skip to main content
O'Reilly home
    • Sign In
    • Try Now
    • Teams
      • For business
      • For government
      • For higher ed
    • Individuals
    • Features
      • Certifications
      • Interactive learning
      • Live events
      • Answers
    • Blog
    • Content sponsorship

Functional Programming in Java: How functional techniques improve your Java programs by Pierre-Yves Saumont

Get full access to Functional Programming in Java: How functional techniques improve your Java programs and 60K+ other titles, with free 10-day trial of O'Reilly.

There's also live online events, interactive content, certification prep materials, and more.

Start your free trial

List of Figures

Chapter 1. What is functional programming?

Figure 1.1. A flow chart representing an imperative program as a process that occurs in time. Various things are transformed and states are mutated until the result is obtained.

Figure 1.2. Comparing a program that’s referentially transparent to one that’s not

Figure 1.3. Replacing referentially transparent expressions with their values doesn’t change the overall meaning.

Chapter 2. Using functions in Java

Figure 2.1. All elements of a function’s domain must have one and only one corresponding element in the codomain.

Figure 2.2. Replacing anonymous classes with lambdas

Figure 2.3. Pay attention to the order of type parameters.

Figure 2.4. Functions in their anonymous form

Chapter ...

Get Functional Programming in Java: How functional techniques improve your Java programs now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.

Start your free trial

About O’Reilly

  • Teach/write/train
  • Careers
  • Community partners
  • Affiliate program
  • Submit an RFP
  • Diversity
  • O’Reilly for marketers

Support

  • Contact us
  • Newsletters
  • Privacy policy
facebook-logo linkedin-logo youtube-logo

Download the O’Reilly App

Take O’Reilly with you and learn anywhere, anytime on your phone and tablet.

Apple app store Google play store

Watch on your big screen

View all O’Reilly videos, Superstream events, and Meet the Expert sessions on your home TV.

Roku Payers and TVs Amazon appstore

Do not sell my personal information

O'Reilly home

© 2022, O’Reilly Media, Inc. All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.

Terms of service • Privacy policy • Editorial independence

Don’t leave empty-handed

Get Mark Richards’s Software Architecture Patterns ebook to better understand how to design components—and how they should interact.

It’s yours, free.

Get it now
Cover of Software Architecture Patterns