计算机科学 > 软件工程
[提交于 2014年7月31日]
标题:Type Variability and Completeness of Interfaces in Java Applications
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Interfaces are widely used as central design elements of Java applications. Although interfaces are abstract types similar to abstract classes, the usage of interfaces in Java applications may considerably differ from the usage of abstract classes. Unlike abstract classes, interfaces are meant to enable multiple inheritance in Java programs. Hence, interfaces are meant to encode shared similarities between classes belonging to different class-type hierarchies. Therefore, it is frequent to use interfaces as partial types, where an interface specifies one specific aspect or usage of its implementing classes. In this paper, we investigate interfaces' usage in Java applications from two perspectives. First, we investigate the usage of interfaces as types of classes belonging to different class-type hierarchies (i.e., interface's type variability). Second, we investigate the usage of interfaces as partial types of implementing classes (i.e., interface's type completeness).
提交历史
来自:Hani Abdeen Dr.[v1] 2014年7月31日 星期四 01:08:44 UTC