发明授权
- 专利标题: Implementing a type restriction that restricts to a singleton value or zero values
-
申请号: US17571359申请日: 2022-01-07
-
公开(公告)号: US11966798B2公开(公告)日: 2024-04-23
- 发明人: John Robert Rose , Brian Goetz
- 申请人: Oracle International Corporation
- 申请人地址: US CA Redwood Shores
- 专利权人: Oracle International Corporation
- 当前专利权人: Oracle International Corporation
- 当前专利权人地址: US CA Redwood Shores
- 代理机构: Invoke
- 主分类号: G06F16/00
- IPC分类号: G06F16/00 ; G06F8/41 ; G06F9/30 ; G06F9/445 ; G06F9/448 ; G06F9/451 ; G06F9/455 ; G06F9/54 ; G06F12/02 ; G06F16/22 ; G06F16/28
摘要:
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.
公开/授权文献
信息查询