Functional programming in Java : harnessing the power of Java 8 Lambda expressions /
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
[Frisco, TX] :
The Pragmatic Programmers,
2014.
|
Colección: | Pragmatic programmers.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Cover; Table of Contents; 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 ElementsRecap; 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 ExceptionsRecap; 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 StylePerformance Concerns; Adopting the Functional Style; A1. Starter Set of Functional Interfaces; A2. Syntax Overview; A3. Web Resources; Bibliography; Index; â#x80;#x93; SYMBOLS â#x80;#x93;; â#x80;#x93; A â#x80;#x93;; â#x80;#x93; B â#x80;#x93;; â#x80;#x93; C â#x80;#x93;; â#x80;#x93; D â#x80;#x93;; â#x80;#x93; E â#x80;#x93;; â#x80;#x93; F â#x80;#x93;; â#x80;#x93; G â#x80;#x93;; â#x80;#x93; H â#x80;#x93;; â#x80;#x93; I â#x80;#x93;; â#x80;#x93; J â#x80;#x93;; â#x80;#x93; L â#x80;#x93;; â#x80;#x93; M â#x80;#x93;; â#x80;#x93; O â#x80;#x93;; â#x80;#x93; P â#x80;#x93;; â#x80;#x93; R â#x80;#x93;; â#x80;#x93; S â#x80;#x93;; â#x80;#x93; T â#x80;#x93;; â#x80;#x93; V â#x80;#x93;; â#x80;#x93; W â#x80;#x93;