Interface method resolution in object oriented programming models
US9632755B1 · kind B1 · utility
Assignee
Inventors
Key dates
| Filing date | Oct 6, 2015 |
| Grant date | Apr 25, 2017 |
| Priority date | — |
| Expiry date | Oct 6, 2035 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F16/24552
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A computer-implemented method includes receiving an invocation of an invoked interface associated with a class, identifying, based on the class, a plurality of interface lookup artifacts and a cached interface lookup artifact, and comparing the invoked interface with a cache interface. The cache interface is associated with the cached interface artifact. The computer-implemented method further includes, responsive to the invoked interface matching the cache interface, returning the cached interface artifact, and responsive to the invoked interface not matching the cache interface, searching the plurality of interface lookup artifacts until finding a matching interface lookup artifact. The matching interface lookup artifact is associated with a matching interface that matches the invoked interface. Responsive to finding the matching interface lookup artifact, returning the matching interface lookup artifact and updating the cached interface lookup artifact to the matching interface lookup artifact. A corresponding computer program product and computer system are also disclosed.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.