Invention Grant
- Patent Title: Partial specialization of generic classes
- Patent Title (中): 通用类的部分专业化
-
Application No.: US14692592Application Date: 2015-04-21
-
Publication No.: US09524152B2Publication Date: 2016-12-20
- Inventor: Brian Goetz , John R. Rose , Alexander R. Buckley
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood City
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood City
- Agency: Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
- Agent Robert C. Kowert
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F9/445 ; G06F9/44

Abstract:
Generic classes may have more than one specializable type parameter and it may be desirable to specialize one or more of the type variables while not specializing others. The result of partial specialization may be one or more additional generic classes that are further specializable on the remaining type parameters. A runtime specializer may partially specialize a generic class to produce a partially specialized class and may subsequently further specialize the partially specialized class to generate a fully specialized class. Thus, rather than performing the specialization of a generic class all at once, such as by specializing Map into Map or Map , one type parameter may be partially specialized, such as resulting in Map , and then at some later time the remaining type parameter(s) may be specialized, such as to generate Map or Map .
Public/Granted literature
- US20150301807A1 Partial Specialization of Generic Classes Public/Granted day:2015-10-22
Information query