首页> 外文学位 >Language extensions for multiple code inheritance in Java.
【24h】

Language extensions for multiple code inheritance in Java.

机译:Java中多个代码继承的语言扩展。

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

摘要

The object-oriented programming paradigm provides strong support for code re-use via inheritance mechanisms. Currently, Java is one of the most widely used objected-oriented programming languages, but Java supports only single code inheritance. Unfortunately, code repetition is sometimes unavoidable without some form of multiple code inheritance. Historically, multiple code inheritance mechanisms in programming languages have been problematic. This is due to the tight coupling of code and data layout, along with fundamental semantic issues with multiple data layout inheritance. Since Java's class mechanism is used for both inheriting code for methods (i.e., code-type) and inheriting state information (i.e., data-type), a mechanism for separating the code-type and data-type inheritance is necessary to solve the multiple code inheritance problem.; We describe the implementation of MCI-Java, an extension to Sun's Java 1.2.2 that separates code-types and data-types and thereby enables a multiple code inheritance mechanism. IBM's Jikes Compiler 1.15 is modified to provide compiler support for MCI-Java. (Abstract shortened by UMI.)
机译:面向对象的编程范例通过继承机制为代码重用提供了强大的支持。当前,Java是使用最广泛的面向对象的编程语言之一,但是Java仅支持单个代码继承。不幸的是,如果没有某种形式的多代码继承,有时代码重复是不可避免的。从历史上看,编程语言中的多种代码继承机制一直存在问题。这是由于代码和数据布局的紧密耦合,以及具有多个数据布局继承的基本语义问题。由于Java的类机制既用于方法的代码继承(代码类型)又用于状态信息的继承(数据类型),所以分离代码类型和数据类型继承的机制对于解决多重代码继承问题。我们描述了MCI-Java的实现,MCI-Java是Sun的Java 1.2.2的扩展,它分离了代码类型和数据类型,从而启用了多种代码继承机制。 IBM的Jikes编译器1.15进行了修改,为MCI-Java提供了编译器支持。 (摘要由UMI缩短。)

著录项

  • 作者

    Chan, Calvin Puihong.;

  • 作者单位

    University of Alberta (Canada).;

  • 授予单位 University of Alberta (Canada).;
  • 学科 Computer Science.
  • 学位 M.Sc.
  • 年度 2005
  • 页码 121 p.
  • 总页数 121
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 自动化技术、计算机技术;
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号