Cargando…

Learning Java functional programming : create robust and maintainable Java applications using the functional style of programming /

Create robust and maintainable Java applications using the functional style of programming About This Book Explore how you can blend object-oriented and functional programming styles in Java Use lambda expressions to write flexible and succinct code A tutorial that strengthens your fundamentals in f...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Reese, Richard M., 1953- (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2015.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)

MARC

LEADER 00000cam a2200000 i 4500
001 OR_ocn930869261
003 OCoLC
005 20231017213018.0
006 m o d
007 cr unu||||||||
008 151203s2015 enka o 001 0 eng d
040 |a UMI  |b eng  |e rda  |e pn  |c UMI  |d TEFOD  |d COO  |d YDXCP  |d IDEBK  |d EBLCP  |d NLE  |d DEBBG  |d IDB  |d OCLCQ  |d MERUC  |d OCLCQ  |d OCLCF  |d CEF  |d OCLCQ  |d WYU  |d UAB  |d OCLCA  |d N$T  |d RDF  |d VLY  |d OCLCO  |d DST  |d OCLCO  |d OCLCQ  |d OCLCO 
019 |a 925499500 
020 |a 9781785289354  |q (electronic bk.) 
020 |a 1785289357  |q (electronic bk.) 
020 |a 9781783558483  |q (electronic bk.) 
020 |a 1783558482  |q (electronic bk.) 
029 1 |a CHNEW  |b 000893823 
029 1 |a CHVBK  |b 374529809 
029 1 |a DEBBG  |b BV043968114 
029 1 |a DEBSZ  |b 485786028 
029 1 |a GBVCP  |b 88274707X 
035 |a (OCoLC)930869261  |z (OCoLC)925499500 
037 |a CL0500000680  |b Safari Books Online 
037 |a 779D8922-D47D-4E09-A220-A7BA57A115F8  |b OverDrive, Inc.  |n http://www.overdrive.com 
050 4 |a QA76.73.J38 
072 7 |a COM  |x 051280  |2 bisacsh 
082 0 4 |a 005.133  |2 23 
049 |a UAMI 
100 1 |a Reese, Richard M.,  |d 1953-  |e author. 
245 1 0 |a Learning Java functional programming :  |b create robust and maintainable Java applications using the functional style of programming /  |c Richard M. Reese. 
264 1 |a Birmingham, UK :  |b Packt Publishing,  |c 2015. 
300 |a 1 online resource (1 volume) :  |b illustrations 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
490 1 |a Community experience distilled 
588 0 |a Online resource; title from cover page (Safari, viewed November 30, 2015). 
500 |a Includes index. 
505 0 |a Cover ; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with Functional Programming; Aspects of functional programming; Functions; Function composition; Fluent interfaces; Strict versus non-strict evaluation; Persistent data structures; Recursion; Parallelism; Optional and monads; Java 8's support for functional style programming; Lambda expressions; Default methods; Functional interfaces; Method and constructor references; Collections; Summary; Chapter 2: Putting the Function in Functional Programming 
505 8 |a Lambda expressions usageFunctional programming concepts in Java; High-order functions; Returning a function; First-class functions; The pure function; Support repeated execution; Eliminating dependencies between functions; Supporting lazy evaluation; Referential transparency; Closure in Java; Currying; Lambda expressions revisited; Java 8 type inference; Exception handling in lambda expressions; Functional interfaces revisited; Creating a functional interface; Common functional interfaces; Function-type functional interfaces; Predicate-type functional interfaces 
505 8 |a Consumer-type functional interfacesSupplier-type functional interfaces; Operator-type functional interfaces; Summary; Chapter 3: Function Composition and Fluent Interfaces; Introduction to function composition; Creating composite functions prior to Java 8; Creating composite functions in Java 8; Using the Function interface for function composition; Using the Functional interface to supplement methods; Passing instances of the Functional interface; Fluent interfaces; Fluent interfaces in Java 8; Method chaining and cascading; Contrasting method cascading and fluent interfaces 
505 8 |a Creating and using fluent interfacesUsing fluent interfaces to hide older interfaces/classes; Using fluent interfaces with the Properties class; Extending fluent interfaces; Default methods and functions; Static default methods; Default methods in Java 8; Multiple inheritance in Java 8; Summary; Chapter 4: Streams and the Evaluation of Expressions; The Stream class and its use; Intermediate and terminal methods; Creating streams; Fixed length streams; Infinite streams; Using the iterate method to create an infinite stream; Using the generate method to create an infinite stream 
505 8 |a Using the Stream class methodsFilter methods; Using the filter method; Using the skip method; Sorting streams; Mapping methods; Understanding the mapping operation; Implementing the map-reduce paradigm; Using the flatmap method; Lazy and eager evaluation; Stream and concurrent processing; Understanding non-inference; Understanding stateless operations; Understanding side effects; Understanding the ordering; Summary; Chapter 5: Recursion Techniques in Java 8; Recursive data structures; Types of recursion; Using direct recursion; Head and tail recursion; Understanding recursion; The Node class 
520 |a Create robust and maintainable Java applications using the functional style of programming About This Book Explore how you can blend object-oriented and functional programming styles in Java Use lambda expressions to write flexible and succinct code A tutorial that strengthens your fundamentals in functional programming techniques to enhance your applications Who This Book Is For If you are a Java developer with object-oriented experience and want to use a functional programming approach in your applications, then this book is for you. All you need to get started is familiarity with basic Java object-oriented programming concepts. What You Will Learn Use lambda expressions to simplyfy code Use function composition to achieve code fluency Apply streams to simply implementations and achieve parallelism Incorporate recursion to support an application's functionality Provide more robust implementations using Optionals Implement design patterns with less code Refactor object-oriented code to create a functional solution Use debugging and testing techniques specific to functional programs In Detail Functional programming is an increasingly popular technology that allows you to simplify many tasks that are often cumbersome and awkward using an object-oriented approach. It is important to understand this approach and know how and when to apply it. Functional programming requires a different mindset, but once mastered it can be very rewarding. This book simplifies the learning process as a problem is described followed by its implementation using an object-oriented approach and then a solution is provided using appropriate functional programming techniques. Writing succinct and maintainable code is facilitated by many functional programming techniques including lambda expressions and streams. In this book, you will see numerous examples of how these techniques can be applied starting with an introduction to lambda expressions. Next, you will see how they can replace older approaches and be combined to achieve surprisingly elegant solutions to problems. This is followed by the investigation of related concepts such as the Optional class and monads, which offer an additional approach to handle problems. Design patterns have been instrumental in solving common problems. You will learn how these are enhanced with functional techniques. To transition from an object-oriented approach to a functional one, it is useful to have IDE support. IDE tools to refacto ... 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
650 0 |a Java (Computer program language) 
650 0 |a Functional programming (Computer science) 
650 0 |a Application software  |x Programming. 
650 6 |a Java (Langage de programmation) 
650 6 |a Programmation fonctionnelle. 
650 6 |a Logiciels d'application  |x Programmation. 
650 7 |a COMPUTERS  |x Programming Languages  |x Java.  |2 bisacsh 
650 7 |a Functional programming (Computer science)  |2 fast 
650 7 |a Java (Computer program language)  |2 fast 
830 0 |a Community experience distilled. 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781783558483/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
938 |a EBL - Ebook Library  |b EBLB  |n EBL4191114 
938 |a EBSCOhost  |b EBSC  |n 1081446 
938 |a ProQuest MyiLibrary Digital eBook Collection  |b IDEB  |n cis32874280 
938 |a YBP Library Services  |b YANK  |n 12650600 
994 |a 92  |b IZTAP