Invention Grant
- Patent Title: Allowing non-generified methods to override generified methods
- Patent Title (中): 允许非生成的方法来覆盖生成的方法
-
Application No.: US11174073Application Date: 2005-06-30
-
Publication No.: US07735070B2Publication Date: 2010-06-08
- Inventor: Peter von der Ahe , Gilad Bracha
- Applicant: Peter von der Ahe , Gilad Bracha
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle America, Inc.
- Current Assignee: Oracle America, Inc.
- Current Assignee Address: US CA Redwood Shores
- Agency: Osha • Liang LLP
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F9/44

Abstract:
In accordance with one embodiment of the present invention, there is provided a technique for allowing a first method to override a second method as long as specified criteria are satisfied, even if the types of the parameters of the first method differ from the types of the parameters of the second method, and even if the return type of the first method differs from the return type of the second method. As a result of the technique, older methods, which do not have generic return types and/or generically typed parameters, can continue to override methods that did not used to have generic return types and/or generically typed parameters, but now do.
Public/Granted literature
- US20070006138A1 Allowing non-generified methods to override generified methods Public/Granted day:2007-01-04
Information query