Functional Interfaces in Java: Fundamentals and Examples

Functional Interfaces in Java: Fundamentals and Examples

English | ISBN: 1484242777 | 2019 | 410 Pages | PDF, EPUB | 4 MB

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. What You Will Learn 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 Who This Book Is For Computer science student or a professional Java programmer. This work is a rigorous discussion of the application of functional interfaces, so prerequisites for this text include basic Java programming and object-oriented Java programming.

Download:

http://longfiles.com/qrl75xvdf1av/Functional_Interfaces_in_Java_Fundamentals_and_Examples.rar.html

[Fast Download] Functional Interfaces in Java: Fundamentals and Examples


Related eBooks:
Beginning Spring 5: From Novice to Professional
Practical Domain-Driven Design in Enterprise Java: Using Jakarta EE, Eclipse MicroProfile, Spring Bo
Beginning Jakarta EE: Enterprise Edition for Java: From Novice to Professional
Web Development with Java: Using Hibernate, JSPs and Servlets
Java: The Complete Reference, 11th Edition
Hands-On Artificial Intelligence with Java for Beginners
Java: The Complete Reference, 11th Edition
Mr. Bunny's Big Cup o'Java (Mr. Bunny Series)
Eclipse X
Securing Java: Getting Down to Business with Mobile Code, 2nd Edition
Spring Enterprise Recipes: A Problem-Solution Approach
Guide to the Unified Process Featuring UML, Java and Design Patterns
Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.