Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Data-Oriented Programming in Java - Records, Sealed Classes, and Pattern Matching

Java via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course explains how Java records, sealed classes, and pattern matching work together to support data-oriented programming, including examples involving future values and JSON.

Syllabus

Intro
Project Amber
What is Object-oriented Programming?
Boundaries
Trend: small program units
New Emphasis
New Tools: Record Classes
New tools: Sealed classes
Test and extract
Pattern Matching in instanceof
Pattern matching in switch
Pattern matching over sealed hierarchies in switch
Record Patterns
Consuming the Future Type
Rethinking The Future Type
Processing a Better Return Type
JSON Values
JSON: Searching for Values
Recap: Data-oriented programming

Taught by

Java

Reviews

Start your review of Data-Oriented Programming in Java - Records, Sealed Classes, and Pattern Matching

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.