Highlights
- What is Java 8? and what tools are available
- Use and learn lambda expressions
- Understand method and constructor references
- Learn to Define and use functional interfaces
- Use sequential and parallel streams
- Use various API enhancements and collections
- Some additional bits 'n' pieces
Course Details
Setting the scene
- What is Java 8
- Where can I get it
- What tools are available
Lambda expressions
- What are lambda expressions
- Formal syntax for lambda expressions
- Lambda expression simple syntax
- Lambda expressions that return a value
- Lambda expressions with multiple arguments
- Lambda expressions and scope
- Common usage scenarios
Method enhancements
- Method references
- Constructor references
- Default methods
- Static methods in interfaces
New functional interfaces
- Function
- Predicate
- Consumer
- Supplier
- BinaryOperator
- Additional new functional interfaces
Streams
- Sequential vs. parallel streams
- Immediate vs. terminal operations
- Stream example
- Lazy evaluation
- A closer look at immediate and terminal operations
- Primitive-specialized streams
Enhanced collections API
- Iteration
- New methods in List
- New methods in Map
Enhanced concurrency API
- ConcurrentHashMap
- CompletableFuture
- CountedCompleter
- Adders and accumulators
- Additional new features
Some additional bits 'n' pieces
- Time
- IO / NIO additions
- Reflection and annotation changes
- Nashorn JavaScript Engine
Who should attend
Feedback
4.8 out of 5 average
"Our tailored course provided a well rounded introduction and also covered some intermediate level topics that we needed to know. Clive gave us some best practice ideas and tips to take away. Fast paced but the instructor never lost any of the delegates"
Brian Leek, Data Analyst, May 2022
“JBI did a great job of customizing their syllabus to suit our business needs and also bringing our team up to speed on the current best practices. Our teams varied widely in terms of experience and the Instructor handled this particularly well - very impressive”
Brian F, Team Lead, RBS, Data Analysis Course, 20 April 2022