Record Patterns (Standard)

GPTKB entity

Statements (15)
Predicate Object
gptkbp:instanceOf Java language feature
gptkbp:availableOn September 2023
gptkbp:category Java pattern matching
gptkbp:enables nested pattern matching with records
https://www.w3.org/2000/01/rdf-schema#label Record Patterns (Standard)
gptkbp:introducedIn gptkb:Java_21
gptkbp:JEP_number gptkb:JEP_440
gptkbp:purpose deconstruct record values in pattern matching
gptkbp:replacedBy manual record component extraction
gptkbp:status standard feature
gptkbp:usedIn instanceof patterns
switch expressions
gptkbp:bfsParent gptkb:Java_SE_22
gptkb:Java_22
gptkbp:bfsLayer 7