Statements (54)
Predicate | Object |
---|---|
gptkbp:instance_of |
gptkb:Java_2_Platform
|
gptkbp:aims_to |
Restrict which classes can implement an interface
|
gptkbp:allows |
Defining permitted subclasses
|
gptkbp:concluded_on |
gptkb:2021
|
gptkbp:enables |
Controlled inheritance
|
gptkbp:enhances |
Pattern matching capabilities
|
gptkbp:feature |
gptkb:Java_SE_17
Encourages better abstraction Encourages encapsulation Facilitates better API design Facilitates clearer API contracts Improves code organization Promotes better code practices Promotes better software design practices Supports better type checking Supports modular programming |
gptkbp:improves |
Type safety
|
gptkbp:introduced_in |
gptkb:Java_17
|
gptkbp:is_a_solution_for |
Limiting interface implementations
|
gptkbp:is_a_subject_of |
Java developer discussions
|
gptkbp:is_aimed_at |
Library and framework developers
|
gptkbp:is_associated_with |
Type system improvements
|
gptkbp:is_designed_for |
Improving API design
|
gptkbp:is_documented_in |
Open JDK documentation
|
gptkbp:is_expected_to |
Enhance code readability
|
gptkbp:is_implemented_in |
gptkb:Java_programming_language
|
gptkbp:is_influenced_by |
Functional programming principles
|
gptkbp:is_part_of |
gptkb:Project_Loom
Java language enhancements Java's evolution Java's feature set Java's future direction. Java's modernization efforts Java SE 17 features Java's ongoing development Java's type system enhancements |
gptkbp:is_related_to |
JEP 360: Sealed Classes and Interfaces
JEP 409: Sealed Classes |
gptkbp:is_supported_by |
gptkb:Java_community
|
gptkbp:originated_in |
More expressive type systems
|
gptkbp:proposed_by |
gptkb:Java_programming_language
JDK Enhancement-Proposal Team Enhances the Java language Addresses interface implementation concerns Aims to simplify interface usage Enhances the expressiveness of Java Sealed interfaces in Java |
gptkbp:provides |
More control over type hierarchies
|
gptkbp:provides_a_mechanism_for |
Defining sealed types
|
gptkbp:requires |
Java compiler support
|
gptkbp:supports |
Better maintainability of code
|
gptkbp:bfsParent |
gptkb:Java_21
gptkb:JDK_21 |
gptkbp:bfsLayer |
5
|