Parameterized types for Java
Citations Over TimeTop 1% of 1997 papers
Abstract
Java offers the real possibility that most programs can be written in a type-safe language. However, for Java to be broadly useful, it needs additional expressive power. This paper extends Java in one area where more power is needed: support for parametric polymorphism, which allows the definition and implementation of generic abstractions. We discuss both the rationale for our design decisions and the impact of the extension on other parts of Java, including arrays and the class library. We also describe optional extensions to the Java virtual machine to allow parameterized bytecodes, and how to verify them efficiently. We have extended the Java bytecode interpreter to provide good performance for parameterized code in both execution speed and code size, without slowing down non-parameterized code.
Related Papers
- → A type system for object initialization in the Java bytecode language(1998)75 cited
- → Encoding the Java Virtual Machine's Instruction Set(2011)2 cited
- → A Type System for Object Initialization In the Java Bytecode Language (summary)(1998)2 cited
- A Type System for Object Initialization In the Java(1998)