Pattern Matching for switch (JEP 420)

GPTKB entity

Statements (16)
Predicate Object
gptkbp:instance_of gptkb:Java_Enhancement_Proposal
gptkbp:aims_to simplify the syntax of switch statements
gptkbp:allows more concise code
gptkbp:enhances type checking in switch expressions
https://www.w3.org/2000/01/rdf-schema#label Pattern Matching for switch (JEP 420)
gptkbp:improves readability of switch cases
gptkbp:introduced gptkb:Java_17
gptkbp:is_expected_to reduce boilerplate code
gptkbp:is_implemented_in gptkb:software
gptkbp:is_part_of Java language evolution
gptkbp:is_related_to Pattern Matching for instanceof (JEP 394)
gptkbp:proposed_by JDK Enhancement-Proposal Team
Pattern matching for switch statements
gptkbp:supports instanceof pattern matching
gptkbp:bfsParent gptkb:JEP_380
gptkbp:bfsLayer 5