LiveLessons - Java 8 Lambda Expressions and Streams
MP4 | AVC 1200kbps | English | 1280x720 | 25fps | 3h 29mins | AAC stereo 128kbps | 1.26 GB
Genre: Video Training
Java 8: Lambda Expressions and Streams covers the most important new features introduced in Java 8. It is presented by Marty Hall, bestselling author, world-renowned instructor, and president of the training company coreservlets.com. This LiveLesson explains the syntax and usage of Java 8 lambda expressions, shows the prebuilt functions, covers streams thoroughly, and gives examples of the types of applications to which lambdas and streams are well suited.
Lambda expressions are a way of representing œfunctions, and Java 8 introduces a number of prebuilt function building blocks as well as a set of function composition methods. Although lambda expressions are not quite real functions, they are close enough for most purposes, and have very succinct syntax that looks like anonymous functions from Scala (minus the type declarations) and are even moderately similar to JavaScript anonymous functions.
Streams are wrappers around arrays, collections, or other data sources that use lambdas pervasively. They support many convenient and high-performance operations that use lambdas, including "map", "reduce", "filter", and "forEach". They also support lazy evaluation, so if you map firstName over a Stream of Employees, filter the ones that start with "P", then choose the first, it really only maps and filters until the first match. Streams can also be made parallel automatically, so that the operations are done in parallel without having to write any explicit multithreading code.
Lambdas don't exactly turn Java into Lisp, and streams don't exactly turn Java SE into Hadoop. Nevertheless, they provide significant new capabilities to Java, and taken together, lambdas and streams result in by far the biggest change in Java programming style since at least 2004, when generics and annotations were added to the language.
Skill Level: Intermediate to advanced
Who Should Take This Course?: Experienced Java developers who need to learn about the new features introduced in Java SE 8
What You Will Learn:
* How to use the most important features of Java 8: lambda expressions and streams.
* Technologies that support lambdas: method references, lambda building blocks in the java.util.function package, effectively-final local variables, the @FunctionalInterface annotation, and higher-order functions.
* Stream methods: forEach, map, filter, reduce, etc.
* Infinite (unbounded) streams
* Parallel streams.
* Lazy evaluation and short-circuit stream operations.
* Supporting Java 8 features: interfaces with concrete methods and the Optional class.
Course Requirements
This LiveLesson assumes that you have moderate to strong Java experience. It covers only the new features of the language that are added in Java 8. However, no previous experience with functional programming is required.
Lesson 1 gets you started by explaining how to obtain and install Java 8, where to find documentation, and how to set up the major IDEs to use Java 8. It also has a quick review of two topics from the standard Java programming that we build on later: anonymous inner classes and defining classes and methods that use generic types.
Lesson 2 gives the motivation for lambda expressions and shows the various syntactical alternatives for representing lambdas. Along the way, it compares the lambda approach to pre-Java 8 approaches and to approaches from other languages. This lesson also introduces four supporting topics that are new to Java 8"effectively final local variables, the FunctionalInterface annotation, method references, and the java.util.function package.
Lesson 3 looks in more detail at the java.util.function package and shows how the interfaces there can be used as building blocks for lambdas. In particular, it explains the five most important elements of this package"Predicate, Function, Consumer, Supplier, and BinaryOperator. For each of these, it explains the syntax, but more importantly shows you how applying them can make your code shorter, simpler, easier to maintain, and more easily reused.
Lesson 4 shows the power of higher order functions: methods that return lambdas. The Lesson looks at both builtin and custom methods that do this. This lesson also gives more detail on the method references that were introduced earlier, and explains some of the tricky cases. It also discusses some of the new features of Java 8 interfaces, namely that Java 8 interfaces can have concrete method implementations, called default methods, as well as static methods.
Lesson 5 moves on to streams. It gives an overview of streams and contrasts streams with collections, shows how to build streams, and explains how to output streams into standard data structures like arrays or lists. It also covers the core stream methods, forEach, map, filter, and findFirst. This lesson also explains the lazy evaluation features of streams, so that streams are not only simpler and more powerful than standard collections, but often also have significantly higher performance.
Lesson 6 covers the remaining stream methods, most importantly the reduce operation. It also shows how stream operations can automatically be processed concurrently without requiring any explicit multithreading code. This lesson concludes with an advanced topic"infinite streams"that have no fixed number of entries, but rather create the values on the fly as they are needed.
Buy Premium From My Links To Get Resumable Support,Max Speed & Support MeCode:Download ( NitroFlare ) http://nitroflare.com/view/F7D1E2BD4D02A63/fh5qa.J.8.L.E.a.S.part1.rar http://nitroflare.com/view/E1A6B91E7DE430D/fh5qa.J.8.L.E.a.S.part2.rar Download ( Uploaded ) http://uploaded.net/file/lbbfryar/fh5qa.J.8.L.E.a.S.part1.rar http://uploaded.net/file/mlpu4b1w/fh5qa.J.8.L.E.a.S.part2.rar Download ( Rapidgator ) http://rapidgator.net/file/3dfa8a62d6ec07e06e031f484c272a34/fh5qa.J.8.L.E.a.S.part1.rar.html http://rapidgator.net/file/5ad7f739363ed250eed598e4ba692358/fh5qa.J.8.L.E.a.S.part2.rar.html Download (BigFile) https://www.bigfile.to/file/2PyuBEZ8tZGr/fh5qa.J.8.L.E.a.S.part1.rar https://www.bigfile.to/file/7pykTGY5fAp2/fh5qa.J.8.L.E.a.S.part2.rar
Please visit our sponsors
Results 1 to 1 of 1
Hybrid View
-
14-06-2016, 10:12 PM #1
- Join Date
- Mar 2014
- Posts
- 25,742
- Feedback Score
- 0
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Java 8 Lambda Expressions and Streams
-
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
24 Hour Gold
Advertising
- Over 20.000 UNIQUE Daily!
- Get Maximum Exposure For Your Site!
- Get QUALITY Converting Traffic!
- Advertise Here Today!
Out Of Billions Of Website's Online.
Members Are Online From.
- Get Maximum Exposure For Your Site!
- Get QUALITY Converting Traffic!
- Advertise Here Today!
Out Of Billions Of Website's Online.
Members Are Online From.