YoVDO

Learning Java 8

Offered By: LinkedIn Learning

Tags

Lambda Expressions Courses Stream API Courses

Course Description

Overview

Learn the important features of Java 8, one of the most popular versions of Java used by developers.

Syllabus

Introduction
  • Java 8: Is it for me?
  • Are you ready for Java 8?
  • Explore the code challenge environment
1. Date and Time
  • LocalDate, LocalTime, and LocalDateTime
  • ZonedDateTime and ZoneId
  • Clock
  • Comparing dates and times
  • DateTimeFormatter
  • Period
  • Duration
  • Altering dates and times
  • Converting Date and Calendar
  • Solution: Filtering by date
2. Base64 Encoding and Decoding
  • What is Base64?
  • Encoding and decoding using java.util.Base64
  • Solution: Encode with Base64
3. Interfaces in Java 8
  • Static methods
  • Default methods
  • Functional interfaces
  • Built-in functional interfaces
  • Solution: Implement a static method
4. Lambda Expressions
  • Basic Lambda expressions
  • Lambda expressions with parameters
  • Lambda expressions body
  • Lambdas as method parameters
  • Lambda expressions and variable scope
  • Solution: Write a lambda expression
5. Stream API
  • What are streams and the stream pipeline?
  • Creating streams
  • Terminal operations on streams
  • Intermediate operations on streams
  • Parallel streams
  • Solution: Replace loops with the Stream API
6. Optional Class in Java
  • Why do you need the Optional class?
  • Creating and using Optionals
  • Methods on the Optional class
  • Challenge
  • Solution
7. Other Java 8 Features
  • String in switch statements
  • Array parallel sorting
  • Unsigned integer arithmetic
  • Improved concurrent API
  • Removal of the permanent generation in memory
  • Challenge
  • Solution
8. Later than Java 8 Features
  • What is not yet in Java 8?
Conclusion
  • Where to go next in Java

Taught by

Peggy Fisher

Related Courses

Parallel Programming in Java
Rice University via Coursera
Streams, Collectors, and Optionals for Data Processing in Java 8
Pluralsight
From Collections to Streams in Java 8 Using Lambda Expressions
Pluralsight
What's New in Java 8
Pluralsight
Using Java 8 Streams to Process and Analyze Data in Memory
Pluralsight