首页>
外国专利>
INTERFACE METHOD RESOLUTION IN OBJECT ORIENTED PROGRAMMING MODELS
INTERFACE METHOD RESOLUTION IN OBJECT ORIENTED PROGRAMMING MODELS
展开▼
机译:面向对象的编程模型中的界面方法解析
展开▼
页面导航
摘要
著录项
相似文献
摘要
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 artefacts and a cached interface lookup artefact, and comparing the invoked interface with a cache interface. The cache interface is associated with the cached interface artefact. The computer-implemented method further includes, responsive to the invoked interface matching the cache interface, returning the cached interface artefact, and responsive to the invoked interface not matching the cache interface, searching the plurality of interface lookup artefacts until finding a matching interface lookup artefact. The matching interface lookup artefact is associated with a matching interface that matches the invoked interface. Responsive to finding the matching interface lookup artefact, returning the matching interface lookup artefact and updating the cached interface lookup artefact to the matching interface lookup artefact. A corresponding computer program product and computer system are also disclosed.
展开▼