JEP 427: Pattern Matching for Switch (Preview)
GPTKB entity
Statements (50)
Predicate | Object |
---|---|
gptkbp:instance_of |
gptkb:Java_Enhancement_Proposal
|
gptkbp:bfsLayer |
4
|
gptkbp:bfsParent |
gptkb:Java_20
gptkb:Java_SE_21 |
gptkbp:aims_to |
Simplify the coding of switch statements
|
gptkbp:author |
gptkb:J._Gosling
|
gptkbp:benefits |
Enhanced readability
Reduced boilerplate code |
gptkbp:created |
2021-09-15
|
gptkbp:discusses |
https://openjdk.java.net/jeps/427
|
gptkbp:example |
Using instanceof with switch expressions
|
gptkbp:impact |
gptkb:language
|
gptkbp:improves |
Type safety in switch statements
|
gptkbp:introduced |
gptkb:Java_17
|
gptkbp:notable_recipients |
gptkb:B._Smith
D. Brown C. Johnson A. Y. Lee E. White F. Green G. Black H. Blue I. Red J. Yellow K. Purple L. Orange M. Pink N. Gray O. Cyan P. Magenta Q. Brown R. White S. Black T. Green U. Blue V. Red W. Yellow X. Purple Y. Orange Z. Pink |
gptkbp:proposed_by |
Pattern matching for switch expressions and statements
|
gptkbp:related_jeps |
gptkb:JEP_394
gptkb:JEP_305 gptkb:JEP_406 |
gptkbp:related_to |
Pattern Matching
|
gptkbp:released |
gptkb:Java_17
|
gptkbp:specifies |
Pattern matching syntax and semantics
|
gptkbp:status |
gptkb:Preview
|
gptkbp:updates |
2022-01-12
|
gptkbp:user_reviews |
gptkb:software_framework
|