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.




4 5 2

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 men...

Price:  $34.26  |  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:  $26.50  |  Publisher:  The Pragmatic Programmers  |  Release:  2014

Pro JPA 2 in Java EE 8

Pro JPA 2 in Java EE 8

by Mike Keith, Merrick Schincariol, Massimo Nardone

Learn to use the Java Persistence API (JPA) and other related APIs as found in the Java EE 8 platform from the perspective of one of the specification creators. A one-of-a-kind resource, this in-depth book provides both theoretical and practical coverage of JPA usage for experienced Java developers.Authors Mike Keith, Merrick Schincariol ...

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

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 func...

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

Beginning EJB in Java EE 8

Beginning EJB in Java EE 8

by Jonathan Wetherbee, Massimo Nardone, Chirag Rathod, Raghu Kodali

Build powerful back-end business logic and complex Enterprise JavaBeans (EJB)-based applications using Java EE 8, Eclipse Enterprise for Java (EE4J), Web Tools Project (WTP), and the Microprofile platform. Targeted at Java and Java EE developers, with or without prior EJB experience, this book is packed with practical insights, strategy t...

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

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:  $44.30  |  Publisher:  Packt Publishing  |  Release:  2018

Killer Game Programming in Java

Killer Game Programming in Java

by Andrew Davison

Although the number of commercial Java games is still small compared to those written in C or C++, the market is expanding rapidly. Recent updates to Java make it faster and easier to create powerful gaming applications-particularly Java 3D-is fueling an explosive growth in Java games. Java games like Puzzle Pirates, Chrome, Star Wars Gal...

Price:  $4.00  |  Publisher:  O'Reilly Media  |  Release:  2005

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 tech...

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