Java Records and Pattern Matching
java · records · pattern · matching · backend · architecture · full-stack · web · record · patterns · methods · constructor · method · syntax · accessor · canonical · class · constructors...
New versions of Java offer a set of interesting features that allow you to write clearer and more concise code. As a Java developer, it is important to keep up to date with what's new in the language. This course covers two of these features: records and pattern matching.
These two topics are presented together because they are not independent — records and pattern matching work very well together. In the last module you will learn how to combine them.
Sign in to read this course
A free account unlocks all 514 courses. 20 are readable without one.
What's inside
7 sections- 1 Table of Contents
- 2 Records: The Basics
- 3 Record Builders
- 4 Records Methods
- 5 Pattern Matching: The Basics
- 6 Pattern Matching with Records
- 7 Appendix: Full source code
More Java, Backend Architecture & Full-Stack courses
View all 30Full-stack Java Development with Spring Boot 3 and React
A job-portal app — Spring Boot 3 backend, JWT/OAuth2 auth, a React frontend and Docker CI/CD on AWS.
Full-stack Java Development with Play Framework and React
Non-blocking REST APIs and WebSockets with Play and Akka Streams, a React+Redux UI and AWS deployment.
Microservices Foundations
What microservices are, why and when to use them, communication patterns and how to adopt them.
Asynchronous Programming in Java
By the end of this course, you will be fully equipped to understand the structure of the CompletableFuture API and navigate its many methods.
Building a REST API with Python 3
In this course you will learn how to build a complete Python project from scratch. You will use the excellent and very popular FastAPI framework to build a REST API that serves data from...
Building an Application Using Java SE
This course teaches how to build a true end-to-end Java application, using industry standard tools, libraries, and practices. The objective is not to learn a particular framework, but to...
Interested in this course?
Contact us to book it or get a custom training plan for your team.