首页> 外国专利> 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.
机译:一种计算机实现的方法,包括:接收与类相关联的被调用接口的调用;基于该类,标识多个接口查找伪像和高速缓存的接口查找伪像;以及将所调用的接口与高速缓存接口进行比较。高速缓存接口与高速缓存的接口工件相关联。该计算机实现的方法进一步包括:响应于所调用的接口与高速缓存接口匹配,返回所高速缓存的接口伪像;以及响应于所调用的接口与高速缓存接口不匹配,搜索多个接口查找伪像,直到找到匹配的接口查找伪像。 。匹配接口查找伪像与匹配调用接口的匹配接口相关联。响应于找到匹配的接口查找人工制品,返回匹配的接口查找人工制品并将缓存的接口查找人工制品更新为匹配的接口查找人工制品。还公开了相应的计算机程序产品和计算机系统。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号