| Part I: Figures |
| Part I: Tables |
| Part I: Examples |
| Foreword |
| Preface to OCP Java SE 21 Developer (Exam 1Z0-830) |
1 | Pattern Matching for Java |
| 1.1 | Type Pattern Matching with the instanceof Pattern Match Operator |
| 1.2 | Type Pattern Matching with the Enhanced switch Construct |
| 1.3 | Record Patterns |
| 1.4 | Record Pattern Matching with the instanceof Pattern Match Operator |
| 1.5 | Record Pattern Matching with the Enhanced switch Construct |
| 1.6 | Summary of Java Patterns |
| 1.7 | Using Qualified Name for Enum Constants in the switch Construct |
| 1.8 | Unexpected Failure in Pattern Matching |
2 | Sequenced Collections and |
| 2.1 | Collections with Well-Defined Encounter Order |
| 2.2 | Sequenced Collections |
| 2.3 | Sequenced Lists |
| 2.4 | Sequenced Sets |
| 2.5 | Deques |
| 2.6 | Sequenced Maps |
| 2.7 | Unmodifiable Sequenced Collections, Sets, and Maps |
| 2.8 | Sequenced Concurrent Collections |
| 2.9 | Sequenced Concurrent Maps |
3 | Virtual Threads |
| 3.1 | Motivation for Virtual Threads |
| 3.2 | Virtual Thread Execution Model |
| 3.3 | Using Thread Class to Create Virtual Threads |
| 3.4 | Using Thread Builders to Create Virtual Threads |
| 3.5 | Using Thread Factory to Create Threads |
| 3.6 | Using Thread Executor Services |
| 3.7 | Scalability of Throughput with Virtual Threads |
| 3.8 | Best Practices for Using Virtual Threads |
A | Exam Topics: Java SE 21 Developer Professional |
B | Annotated Answers to Review Questions |
C | Miscellaneous API Updates |
| C.1 | The String and StringBuilder Classes |
| C.2 | Constructing Locales |
| Part I: Index | |