Customized Onsite Training

2
Days
  • Customized Content
  • For Groups of 5+
  • Online or On-location
  • Expert Instructors
Request Class or call 1-877-932-8228

Live Online Training

$1,050.00
or 2 vouchers
  • Live Online Training
  • Expert Instructors
  • Guaranteed to Run
  • 100% Free Re-take Option

Upcoming Classes

  • See More Classes

Please select a class.
Overview

This Using Java 8's New Features training class introduces a number of revolutionary capabilities - many of them centered on lambda expressions and functional-style programming. These capabilities add powerful new programming techniques to the language, but also add complexity.

This concise course is focused on introducing the new capabilities and how to use them. It includes numerous code examples and programming labs that illustrate all of the new capabilities.

The course is hands on, and requires that students be comfortable with writing general Java code at an intermediate level, including the use of interfaces.

Goals
  1. Become familiar with the additions to Java interfaces
  2. Understand and use functional interfaces
  3. Understand lambda expressions and method references, and use them to pass behavior (methods)
  4. Learn about the pre-defined functional interfaces, and use them with lambda expressions
  5. Understand and use the Stream API
  6. Process collections using streams, including chaining operations and using collectors
  7. Understand and use parallel streams
  8. Understand and deal with the issues of parallel processing
  9. Learn and use the new Data/Time API
  10. Become familiar with other new capabilities
Outline
  1. What's new in Interfaces
    1. Static Methods
    2. Default Methods
    3. Functional Interfaces
  2. Introducing Lambda Expressions
    1. Motivation for Lambdas
    2. Lambda Expression Overview
    3. Lambda Expressions and Functional Interfaces
    4. Using Lambda Expressions
    5. Working with Method References
  3. The Stream API
    1. Overview
      1. Shortcomings of Collections
      2. What are Streams?
      3. Chaining - Intermediate and Terminal Operations
    2. Understanding the Stream API
      1. Overview - java.util.stream types (Stream, Collector, ...)
      2. Keys to Understanding the API
      3. Important Functional Interfaces: Predicate, Comparator, Function
    3. Stream Processing
      1. Using filter()
      2. Sorting / Comparator.comparing()
      3. Using map()
      4. Other operations: peek(), distinct(), limit(), skip()
      5. Result producing terminal operations - collect, min/max ...
      6. void Terminal Operations - forEach()
      7. Existence (e.g. anyMatch) and Finder (e.g. findAny) Operations
    4. Collectors
      1. Roles and Capabilities
      2. Collectors.toList(), Collectors.toSet()
      3. Supplier and Collectors.toCollection()
      4. Partitioning and Grouping Collectors
  4. Parallel Processing and Concurrency
    1. Overview
    2. Java 8 Parallel Processing using Streams
    3. Ground Rules / Requirements for Using Parallel Stream Processing
    4. Multithreading / Concurrency Issues
    5. Race Conditions, Data Synchronization, Locks
    6. Performance Issues and Considerations
  5. Date/Time API
    1. Overview and Limitations of Previous API
    2. The Date/Time API (JSR 310)
    3. Creating and Working with LocalData/LocalTime/LocalDateTime Instances
    4. Formatting Date/Time
    5. Localization / Time Zones
    6. Periods and Durations
    7. Performing Calculations on Data/Time types
  6. Other Capabilities
    1. Compact Profiles
    2. Using Optional Instead of null
    3. Repeatable and Type Annotations
    4. Nashorn JavaScript Engine
    5. Minor New Features
Class Materials

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.

Preparing for Class

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing

72,554

Students who have taken Live Online Training

15,169

Organization who trust Webucator for their training needs

100%

Satisfaction guarantee and retake option

9.42

Students rated our trainers 9.42 out of 10 based on 5,211 reviews

Contact Us or call 1-877-932-8228