Functional Interfaces in Java

Functional Interfaces in Java
Author :
Publisher : Apress
Total Pages : 415
Release :
ISBN-10 : 9781484242780
ISBN-13 : 1484242785
Rating : 4/5 (785 Downloads)

Book Synopsis Functional Interfaces in Java by : Ralph Lecessi

Download or read book Functional Interfaces in Java written by Ralph Lecessi and published by Apress. This book was released on 2019-02-14 with total page 415 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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 LearnUse 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.


Functional Interfaces in Java Related Books

Functional Interfaces in Java
Language: en
Pages: 415
Authors: Ralph Lecessi
Categories: Computers
Type: BOOK - Published: 2019-02-14 - Publisher: Apress

GET EBOOK

Reduce development time by organizing your programs as chains of functional interfaces and see that the advantages of using functional interfaces include the fl
Functional Programming in Java
Language: en
Pages: 263
Authors: Venkat Subramaniam
Categories: Computers
Type: BOOK - Published: 2014-02-19 - Publisher: Pragmatic Bookshelf

GET EBOOK

Intermediate level, for programmers fairly familiar with Java, but new to the functional style of programming and lambda expressions. Get ready to program in a
Effective Kotlin
Language: en
Pages: 439
Authors: Marcin Moskała
Categories: Computers
Type: BOOK - Published: - Publisher: Kt. Academy

GET EBOOK

Kotlin is a powerful and pragmatic language, but it's not enough to know about its features. We also need to know when they should be used and in what way. This
Modern Java Recipes
Language: en
Pages: 321
Authors: Ken Kousen
Categories: Computers
Type: BOOK - Published: 2017-08-11 - Publisher: "O'Reilly Media, Inc."

GET EBOOK

The introduction of functional programming concepts in Java SE 8 was a drastic change for this venerable object-oriented language. Lambda expressions, method re
Learning Java Functional Programming
Language: en
Pages: 296
Authors: Richard M Reese
Categories: Computers
Type: BOOK - Published: 2015-10-14 - Publisher: Packt Publishing Ltd

GET EBOOK

Create robust and maintainable Java applications using the functional style of programming About This Book Explore how you can blend object-oriented and functio