Functional Interfaces in Java

Fundamentals and Examples



Bookstore > Books > Functional Interfaces in Java

Price$31.16 - $33.34
Rating
AuthorRalph Lecessi
PublisherApress
Published2019
Pages410
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101484242777
ISBN-139781484242773
EBook Hardcover Paperback

Reduce development time by organizing your programs as chains of functional interfaces and see that the advantages of using functional interfaces include the flexibility and power of inlined functional chains and reuse of functional methods utilized throughout the Java API. You'll see how complex logical expressions can be reduced to chains of predicates and how chains of comparators can be used to sort data by several criteria in order. Other examples include streams that utilize functional interfaces to filter, sort, transform, and perform calculations on data; CompletableFutures that use functional interfaces to create cascading and parallel execution threads; and JavaFX programs that use functional interfaces to monitor the data backed by their graphical components.

Each chapter contains a complete programming project: the Discount Dave project shows you how to qualify car customers by organizing questions as a list of predicates; the Real Estate Broker project shows you how to use chains of comparators to filter and sort homes according to customer priorities; the Dave's Part Inventory project shows you how to query and write reports from an inventory database using stream operations; and the Sentence Builder project shows you how to correct a sentence by implementing each grammar rule as a separate link in a future chain.

Functional Interfaces in Java will help you quickly develop powerful and reliable programs that utilize functional interfaces to implement logic and calculations.

Use the functional interfaces in the java.util.function package to perform conditional logic, transform and generate data, and perform calculations; Filter and sort data by several criteria using comparators; Process collections and filter, sort, transform, and reduce stream elements with functional interfaces; Write cascading and parallel execution threads.





Similar Books


Functional Programming in Java

Functional Programming in Java

by Pierre-Yves Saumont

Here's a bold statement: learn functional programming and you'll be a better Java developer. Fortunately, you don't have to master every aspect of FP to get a big payoff. If you take in a few core principles, you'll see an immediate boost in the scalability, readability, and maintainability of your code. And did we mention that you'll hav...

Price:  $34.91  |  Publisher:  Manning  |  Release:  2017

Functional Programming in Java

Functional Programming in Java

by Venkat Subramaniam

Get ready to program in a whole new way. Functional Programming in Java will help you quickly get on top of the new, essential Java 8 language features and the functional style that will change and improve your code. This short, targeted book will help you make the paradigm shift from the old imperative way to a less error-prone, more ele...

Price:  $27.49  |  Publisher:  The Pragmatic Programmers  |  Release:  2014

Functional Programming in JavaScript

Functional Programming in JavaScript

by Dan Mantyla

This is a fast-paced guide that will help you to write real-world applications by utilizing a wide range of functional techniques and styles.The book first explores the core concepts of functional programming common to all functional languages, with examples of their use in JavaScript. It's followed by a comprehensive roundup of functiona...

Price:  $23.99  |  Publisher:  Packt Publishing  |  Release:  2015

Design Patterns and Best Practices in Java

Design Patterns and Best Practices in Java

by Kamalmeet Singh, Adrian Ianculescu, Lucian-Paul Torje

Having a knowledge of design patterns enables you, as a developer, to improve your code base, promote code reuse, and make the architecture more robust. As languages evolve, new features take time to fully understand before they are adopted en masse. The mission of this book is to ease the adoption of the latest trends and provide good pr...

Price:  $35.99  |  Publisher:  Packt Publishing  |  Release:  2018

Practical JSF in Java EE 8

Practical JSF in Java EE 8

by Michael Muller

Master the Java EE 8 and JSF (JavaServer Faces) APIs and web framework with this practical, projects-driven guide to web development. This book combines theoretical background with a practical approach by building four real-world applications. By developing these JSF web applications, you'll take a tour through the other Java EE technolog...

Price:  $39.99  |  Publisher:  Apress  |  Release:  2018

Machine Learning in Java, 2nd Edition

Machine Learning in Java, 2nd Edition

by AshishSingh Bhatia, Bostjan Kaluza

As the amount of data in the world continues to grow at an almost incomprehensible rate, being able to understand and process data is becoming a key differentiator for competitive organizations. Machine learning applications are everywhere, from self-driving cars, spam detection, document search, and trading strategies, to speech recognit...

Price:  $39.99  |  Publisher:  Packt Publishing  |  Release:  2018

Modern Java Recipes

Modern Java Recipes

by Ken Kousen

The introduction of functional programming concepts in Java SE 8 was a drastic change for this venerable object-oriented language. Lambda expressions, method references, and streams fundamentally changed the idioms of the language, and many developers have been trying to catch up ever since. This cookbook will help. With more than 70 deta...

Price:  $31.28  |  Publisher:  O'Reilly Media  |  Release:  2017

Data Structures and Algorithms in Java, 6th Edition

Data Structures and Algorithms in Java, 6th Edition

by Michael T. Goodrich, Roberto Tamassia, Michael H. Goldwasser

The design and analysis of efficient data structures has long been recognized as a key component of the Computer Science curriculum. Goodrich and Tomassia's approach to this classic topic is based on the object-oriented paradigm as the framework of choice for the design of data structures. For each ADT presented in the text, the authors p...

Price:  $100.00  |  Publisher:  Wiley  |  Release:  2014