Pattern Matching for switch (Standard)
GPTKB entity
Statements (23)
| Predicate | Object |
|---|---|
| gptkbp:instanceOf |
gptkb:Java_language_feature
|
| gptkbp:allows |
Deconstruction patterns in switch
Null handling in switch Switch expressions with patterns |
| gptkbp:category |
Java SE feature
|
| gptkbp:documentation |
https://openjdk.org/jeps/441
|
| gptkbp:enables |
Guarded patterns in switch
Pattern matching in switch statements Type patterns in switch |
| gptkbp:improves |
Readability of switch statements
Safety of switch statements |
| gptkbp:introducedIn |
gptkb:Java_21
|
| gptkbp:JEP_number |
gptkb:JEP_441
|
| gptkbp:partOf |
Java language enhancements
|
| gptkbp:previouslyPreviewedIn |
gptkb:Java_20
gptkb:Java_17 gptkb:Java_19 gptkb:Java_18 |
| gptkbp:status |
Standard feature
|
| gptkbp:bfsParent |
gptkb:Java_SE_22
gptkb:Java_22 |
| gptkbp:bfsLayer |
7
|
| https://www.w3.org/2000/01/rdf-schema#label |
Pattern Matching for switch (Standard)
|