February 2014
Intermediate to advanced
160 pages
4h 59m
English
| Foreword |
| Acknowledgments |
| Preface |
| Who’s This Book For |
| What’s in This Book |
| Java Version Used in This Book |
| How to Read the Code Examples |
| Online Resources |
| 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 ... |