首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 支持“类变形”的程序设计语言,一个高度概括的抽象机制,其中一个类的结构可以由其他类的结构形成。

支持“类变形”的程序设计语言,一个高度概括的抽象机制,其中一个类的结构可以由其他类的结构形成。

资 源 简 介

Class morphing is an abstraction mechanism that allows a class to abstract over the structure of other types. For instance, one can define a parametric class Log with the definition "for each method of X, provide an identical method that calls the original and logs the return value". The main reference morphing language is MorphJ--an extension of Java. It allows programmers to create classes "in the image of" other classes. MorphJ provides constructs for reflecting over the structure of types, and using values obtained through reflection to declare members of another types.

文 件 列 表

morphing
MorphJ
examples
DefaultImplementation.java
README
MorphJ
MJBackend
src
MJCompiler.jar
VIP VIP
0.172535s