In this section, you will first be introduced to enums, which enable you to define a new type. Then, we will learn more about the data classes in Project Amber and cover the challenges of using POJOs to model data. Following on from this, you'll learn more about an exciting language enhancement—raw string literals. Next, we will see what Java has in the pipeline in terms of helping to overcome problems related to lambdas and method references, before ending with pattern matching, which will include the addition of new capabilities to Java.
The following chapters will be covered in this section:
- Chapter 13, Enhanced Enums in Project Amber
- Chapter 14, Data Classes and Their Usage
- Chapter 15, Raw String Literals
- Chapter 16, Lambda Leftovers
- Chapter 17, Pattern Matching