Cargando…

Java closures and lambda /

Java Closures and Lambda introduces you to significant new changes to the Java language coming out of what is termed Project Lambda. These new changes make their debut in Java 8, and their highlight is the long-awaited support for lambda expressions in the Java language. You'll learn to write l...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Fischer, Robert, 1982- (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: [New York, NY] : Apress, [2015]
Colección:Expert's voice in Java.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)

MARC

LEADER 00000cam a2200000Ii 4500
001 OR_ocn907397799
003 OCoLC
005 20231017213018.0
006 m o d
007 cr unu||||||||
008 150415s2015 nyua o 001 0 eng d
040 |a UMI  |b eng  |e rda  |e pn  |c UMI  |d DEBBG  |d HEBIS  |d OCLCF  |d CEF  |d OCLCQ  |d UAB  |d VLY  |d OCLCO  |d OCLCQ  |d OCLCO 
020 |a 1430259981 
020 |a 9781430259985 
020 |z 9781430259985 
029 1 |a DEBBG  |b BV042683141 
029 1 |a DEBSZ  |b 446583464 
029 1 |a GBVCP  |b 835873226 
035 |a (OCoLC)907397799 
037 |a CL0500000579  |b Safari Books Online 
050 4 |a QA76.73 .J38 
082 4 |a 005.13/3 
049 |a UAMI 
100 1 |a Fischer, Robert,  |d 1982-  |e author. 
245 1 0 |a Java closures and lambda /  |c Robert Fischer. 
264 1 |a [New York, NY] :  |b Apress,  |c [2015] 
264 2 |a Distributed to the Book trade worldwide by Springer Science+Business Media New York 
264 4 |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 The expert's voice in Java 
588 0 |a Print version record. 
500 |a Includes index. 
500 |a Place of publication taken from publisher's Web site. 
505 0 |a At a Glance; Introduction; Chapter 1: Java 8: It's a Whole New Java; Java 8 Returns Java to the Forefront; Java Has Had Functional Programming All Along; Java 8 Is Not Just Syntactic Sugar; Is Java 8 a Functional Programming Language?; Enough with the Theory; onto the Implementation!; Chapter 2: Understanding Lambdas in Java 8; Java 8's Lambda Syntax; Lambdas as Closures; No-Argument and Multi-Argument Lambdas; Partial Function Application and Mr. Curry's Verb; Mr. Curry's Verb and Functional Shape; Lambdas with No Return Value; Lambdas with Complex Bodies 
505 8 |a Lambdas with Explicit TypingLambdas as Operators; Lambdas as Predicates; Lambdas with Primitive Arguments; Making Methods into Lambdas; Making Static Methods into Lambdas; Making Constructors into Lambdas; Making Instance Methods into Lambdas; Specifying a Method to Be Used Later; Lambdas as Interface Implementations; Def ault Methods; Static Methods; Functional Interface Helper Methods; Function.identity() and UnaryOperator.identity(); Function.compose and Function.andThen; Consumer.andThen; Predicate.and and Predicate.or; Predicate.isEqual; Predicate.negate 
505 8 |a BinaryOperator. minBy and BinaryOperator. maxByLambda Best Practices; Use Interfaces; Use Method References; Define Lambdas Inline; Lambdas Should Always Be Threadsafe; Don't Use Null; Don't R elease Zalgo; Build Complexity from Simple Parts; Use Types and the Compiler to Your Advantage; Chapter 3: Lambda's Domain: Collections, Maps, and Streams; Lambdas and Functional Programming; Functional Iteration; Manipulating Collections and Maps with Lambdas; Filtering Collections and Maps; Mapping Collections and Maps; Map Computations; Streams; Stream Creation; Mapping and Filtering Streams 
505 8 |a Collecting, Processing, or Reducing StreamsPrimitive Streams; Lambda's Domain in Review; Chapter 4: I/O with Lambdas; Temporary Files and the Hole in the Middle; Exception Handling via Input: Passing in an Exception Handler; Exception Handling via Output: Capturing Execution Results; Consuming Our Temp File Function; Reading All the Lines of Files in a Directory; Complex Stream Processing Using Creative Flattening; Streaming all the Lines of all the Files in a Directory; Summary; Chapter 5: Data Access with Lambdas; Representing the Intermediary Query Results; Printing Out the Results 
505 8 |a Mapping the ResultSet to a StreamMethod One: Building a Stream Using the Stream Builder; Method Two: Building a Stream Using Stream.of and Stream.flatMap; Mapping the ResultSet with Result-Based Error Handling; Method Three: Building a Stream Using an AbstractSpliterator; Method Four: Building a Stream from an Iterator; Pulling It All Together; Chapter 6: Lambda Concurrency; Lambdas and Classic Java Threading; Lambdas and Executors; Lambdas and the ThreadPoolExecutor; Lambdas and Fork/Join; Stream Parallelism; Conclusion; Chapter 7: Lambdas and Legacy Code; Resources and Exceptions 
520 |a Java Closures and Lambda introduces you to significant new changes to the Java language coming out of what is termed Project Lambda. These new changes make their debut in Java 8, and their highlight is the long-awaited support for lambda expressions in the Java language. You'll learn to write lambda expressions and use them to create functional interfaces and default methods for evolving APIs, among many other uses. The changes in Java 8 are significant. Syntax and usage of the language are changed considerably with the introduction of closures and lambda expressions. This book takes you through these important changes from introduction to mastery. Through a set of clear examples, you'll learn to refactor existing code to take advantage of the new language features. You'll learn what those features can do for you, and when they are best applied. You'll learn to design and write new code having these important new features in mind from the very beginning. Clearly explains the fantastic benefits resulting from Project Lambda Explains the syntax and IDE support for the new features Shows how to streamline your code by bringing some of the benefits of functional programming to the Java language Illustrates parallelism in closures through Stream and Spliterator objects Explains API evolution by adding methods to existing interfaces without breaking existing interface implementations, a technique addressing potential multiple inheritance issues. 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
650 0 |a Java (Computer program language) 
650 0 |a Object-oriented programming languages. 
650 6 |a Java (Langage de programmation) 
650 6 |a Langages orientés objet (Informatique) 
650 7 |a Java (Computer program language)  |2 fast 
650 7 |a Object-oriented programming languages  |2 fast 
776 0 8 |i Print version:  |a Fischer, Robert, 1982-  |t Java closures and lambda.  |d [Berkeley, California] : Apress, [2015]  |z 1430259981  |w (OCoLC)855237537 
830 0 |a Expert's voice in Java. 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781430259992/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
994 |a 92  |b IZTAP