JEP 441: Pattern Matching for switch

GPTKB entity

Statements (20)
Predicate Object
gptkbp:instanceOf Python Enhancement Proposal
gptkbp:author gptkb:Brian_Goetz
gptkb:Gavin_Bierman
gptkbp:component core-libs
https://www.w3.org/2000/01/rdf-schema#label JEP 441: Pattern Matching for switch
gptkbp:JEP_number 441
gptkbp:latestReleaseVersion gptkb:Java_SE_21
gptkbp:motive To make switch more flexible and expressive by allowing patterns in case labels.
gptkbp:plotSummary Enhances the Java programming language with pattern matching for switch expressions and statements, extending pattern matching to allow patterns to appear in case labels.
gptkbp:proposedBy gptkb:Java_21
gptkbp:relatedJEP gptkb:JEP_406
gptkb:JEP_420
gptkb:JEP_427
gptkb:JEP_433
gptkbp:scope SE
gptkbp:status Final
gptkbp:title Pattern Matching for switch
gptkbp:url https://openjdk.org/jeps/441
gptkbp:bfsParent gptkb:Java_21
gptkbp:bfsLayer 6