Functional Java

Examples and exercises for the "Functional Java" workshop

View on GitHub

Overview and Instructions

  1. Overview and Fundamentals
  2. Setup Instructions
  3. Immutability Overview, Immutable Objects Exercise
  4. Lambdas Overview
  5. Streams Overview, Streams Exercises
  6. Optionals Overview
  7. Function Composition
  8. Refactoring Exercise
  9. Coda: Immutability
  10. Extra: Kotlin
  11. Extra: VS Code Cheat Sheet

Thank you to the following!

Exercises

For all exercises, the basic instructions are “make the tests pass”. There are TODO comments in all the classes in the “exercises.*” packages with instructions on what to do. See the links above for detailed descriptions of the exercises.