Switch Expressions (preview)
GPTKB entity
Statements (22)
Predicate | Object |
---|---|
gptkbp:instanceOf |
Java language feature
|
gptkbp:allows |
returning a value from switch
using switch as an expression |
gptkbp:availableOn |
gptkb:Java_12
gptkb:Java_14 Java 13 |
gptkbp:category |
Java preview feature
|
https://www.w3.org/2000/01/rdf-schema#label |
Switch Expressions (preview)
|
gptkbp:improves |
readability
conciseness |
gptkbp:introducedIn |
gptkb:Java_12
|
gptkbp:purpose |
enhance switch statement
|
gptkbp:reduces |
boilerplate code
|
gptkbp:relatedTo |
switch statement
Java language enhancements |
gptkbp:status |
preview feature
|
gptkbp:supports |
arrow labels
multiple case labels yield statement |
gptkbp:bfsParent |
gptkb:Java_12
gptkb:Java_SE_12 |
gptkbp:bfsLayer |
7
|