gptkbp:instance_of
|
gptkb:API
gptkb:Java_Enhancement_Proposal
|
gptkbp:bfsLayer
|
5
|
gptkbp:bfsParent
|
gptkb:JEP_352
gptkb:JEP_405
gptkb:JEP_437
gptkb:JEP_462
gptkb:JEP_493
|
gptkbp:author
|
gptkb:Brian_Goetz
|
gptkbp:created
|
2018-09-17
|
gptkbp:discusses
|
Open JDK mailing list
|
gptkbp:example
|
if (obj instanceof String s) { ... }
|
https://www.w3.org/2000/01/rdf-schema#label
|
JEP 303
|
gptkbp:impact
|
Simplifies code and improves readability.
Improved performance and usability of streams.
|
gptkbp:is_described_as
|
Enhances the instanceof operator to allow pattern matching.
Enhancements to the Stream API.
|
gptkbp:is_implemented_in
|
Completed in JDK 16.
|
gptkbp:proposed_by
|
gptkb:Database_Management_System
|
gptkbp:related_jeps
|
gptkb:JEP_382
JEP 294
|
gptkbp:release_date
|
September 2021
|
gptkbp:released
|
gptkb:JDK_17
|
gptkbp:specifies
|
gptkb:Java_SE_17
Java Language Specification.
|
gptkbp:status
|
gptkb:Final
|
gptkbp:targets
|
gptkb:JDK_17
gptkb:JDK_16
|
gptkbp:title
|
gptkb:Pattern_Matching_for_instanceof
Stream API Enhancements
|
gptkbp:updates
|
2020-09-15
|
gptkbp:user_reviews
|
gptkb:Brian_Goetz
|