JEP 427: Pattern Matching for Switch (Preview)

GPTKB entity

Statements (50)
Predicate Object
gptkbp:instance_of gptkb:Java_2_Platform
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:Java_programming_language
gptkbp:improves Type safety in switch statements
gptkbp:introduced_in gptkb:Java_17
gptkbp:notable_contributor 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:reviews gptkb:Java_Community_Process
gptkbp:specification Pattern matching syntax and semantics
gptkbp:status gptkb:Preview
gptkbp:updates 2022-01-12
gptkbp:bfsParent gptkb:Java_20
gptkb:Java_SE_21
gptkbp:bfsLayer 5