Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Limit search to available items
Results Page:  Previous Next
Author Lecessi, Ralph, author.

Title Functional Interfaces in Java : fundamentals and examples / Ralph Lecessi. [O'Reilly electronic resource]

Publication Info. New York : Apress, 2019.
QR Code
Description 1 online resource : illustrations
text file
PDF
Note Includes index.
Contents Functional interfaces -- Lambda expressions -- Predicates -- Functions -- Operators -- Consumers -- Suppliers -- Use in traversing objects -- Use in collections -- Use in comparing objects -- Use in optionals -- Use in streams -- Use in multithreaded programs -- Use in atomic calculations -- Use in JavaFX applications -- Appendix: Method references.
Summary 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. You will: 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.
Subject Java (Computer program language)
Computer interfaces.
User-Computer Interface
Java (Langage de programmation)
Interfaces (Informatique)
Computer interfaces
Java (Computer program language)
Other Form: Print version: Lecessi, Ralph. Functional Interfaces in Java. New York : Apress, 2019 1484242777 9781484242773 (OCoLC)1057768461
ISBN 9781484242780 (electronic bk.)
1484242785 (electronic bk.)
(print)
Standard No. 10.1007/978-1-4842-4278-0 doi
10.1007/978-1-4842-4
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information