Invention Grant
- Patent Title: Implementing a type restriction that restricts to a non-polymorphic layout type or a maximum value
-
Application No.: US17571356Application Date: 2022-01-07
-
Publication No.: US11693719B2Publication Date: 2023-07-04
- Inventor: John Robert Rose , Brian Goetz
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Invoke
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/54 ; G06F8/41 ; G06F16/28 ; G06F16/22 ; G06F9/448 ; G06F9/445 ; G06F9/30 ; G06F9/451 ; G06F12/02 ; G06F9/455

Abstract:
A type restriction contextually modifies an existing type descriptor. The type restriction is imposed on a data structure to restrict the values that are assumable by the data structure. The type restriction does not cancel or otherwise override the effect of the existing type descriptor on the data structure. Rather the type restriction may declare that a value of the data structure's type is forbidden for the data structure. Additionally or alternatively, the type restriction may declare that an element count allowable for a data structure's type is forbidden for the data structure. Type restriction allows optionality (where only a singleton value for a data structure is allowed), empty sets (where no value for a data structure is allowed), and multiplicity (where only a limited element count for a data structure) to be injected into a code set independent of data type. Type restriction allows certain optimizations to be performed.
Public/Granted literature
- US20220300298A1 IMPLEMENTING A TYPE RESTRICTION THAT RESTRICTS TO A NON-POLYMORPHIC LAYOUT TYPE OR A MAXIMUM VALUE Public/Granted day:2022-09-22
Information query