gptkbp:instance_of
|
gptkb:Java_Enhancement_Proposal
|
gptkbp:bfsLayer
|
3
|
gptkbp:bfsParent
|
gptkb:Java_Enhancement_Proposal
|
gptkbp:author
|
gptkb:Brian_Goetz
|
gptkbp:community_involvement
|
Active.
|
gptkbp:consequences
|
Improved API design.
|
gptkbp:contribution
|
Enhances expressiveness.
|
gptkbp:design
|
Simplicity and clarity.
|
gptkbp:discusses
|
https://openjdk.java.net/jeps/21
|
gptkbp:ecological_role
|
Improves library design.
|
gptkbp:education
|
Widely adopted.
|
gptkbp:end_date
|
July 2021
|
gptkbp:example
|
Sealed interfaces can restrict which classes can implement them.
Used in frameworks for better type safety.
|
gptkbp:features
|
Pattern Matching.
Records.
|
gptkbp:feedback
|
Positive.
|
gptkbp:future_plans
|
Explore sealed classes.
|
https://www.w3.org/2000/01/rdf-schema#label
|
JEP 21
|
gptkbp:impact
|
Enhances type system.
|
gptkbp:is_a_framework_for
|
Enhances flexibility.
|
gptkbp:is_adopted_by
|
High.
|
gptkbp:is_compatible_with
|
Backward compatible.
|
gptkbp:is_described_as
|
Introduces sealed interfaces to the Java programming language.
|
gptkbp:is_implemented_in
|
Completed.
Part of Project Loom.
Requires compiler support.
|
gptkbp:is_motivated_by
|
Control the inheritance of interfaces.
|
gptkbp:keywords
|
sealed, interfaces, type system
|
gptkbp:library
|
Encourages better practices.
|
gptkbp:notable_production
|
Simplifies interface design.
|
gptkbp:performance
|
Minimal.
No significant impact.
|
gptkbp:proposed_by
|
gptkb:Database_Management_System
|
gptkbp:related_concept
|
ISO/ IEC 23270.
|
gptkbp:related_jeps
|
gptkb:JEP_15
gptkb:JEP_17
gptkb:JEP_18
gptkb:JEP_20
gptkb:JEP_22
gptkb:JEP_23
gptkb:JEP_24
gptkb:JEP_25
gptkb:JEP_26
gptkb:JEP_27
gptkb:JEP_28
gptkb:JEP_29
gptkb:JEP_30
|
gptkbp:release_date
|
September 2021
|
gptkbp:specifies
|
Java Language Specification.
|
gptkbp:status
|
gptkb:Final
|
gptkbp:targets
|
gptkb:JDK_17
|
gptkbp:technology
|
Java SE.
JVM.
|
gptkbp:title
|
Sealed Interfaces
|
gptkbp:user_reviews
|
gptkb:Venkat_Subramaniam
gptkb:Mark_Reinhold
gptkb:Jesse_Glick
March 2021
|