...
【24h】

Parametric Polymorphism for Java~(TM): A Reflective Solution

机译:Java〜(TM)的参数多态性:一种反射解决方案

获取原文
获取原文并翻译 | 示例

摘要

A number of inadequacies of existing implementation techniques for extending Java~(TM) with parametric polymorphism are revealed. Homogeneous translations are the most space-efficient but they are not compatible with reflection, some models of persistence, and multiple dispatch. Heterogeneous translations, on the other hand, can potentially produce large amounts of redundant information. Implementation techniques that address these concerns are developed. In languages that support run-time reflection, an adequate implementation of parametric, bounded and F-bounded polymorphism is shown to require (reflective) run-time support. In Java, extensions to the core classes are needed. This is in spite of the fact that parametric polymorphism is intended to be managed statically.
机译:揭示了现有的用于用参数多态性扩展JavaTM的实现技术的不足之处。同类翻译最节省空间,但与反射,某些持久性模型和多重调度不兼容。另一方面,异构翻译可能会产生大量的冗余信息。开发了解决这些问题的实现技术。在支持运行时反射的语言中,已证明要充分实现参数化,有界和F界多态性,需要(反射)运行时支持。在Java中,需要扩展核心类。尽管存在这样的事实,即应该静态管理参数多态性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号