Inheritance, Generics and Binary Methods in Java

Fuente: Redalyc
Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: María Lucía Barrón Estrada
Format: Artículo científico
Sprache:en
Veröffentlicht: Instituto Politécnico Nacional 2003
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1876436122154827776
author María Lucía Barrón Estrada
author_facet María Lucía Barrón Estrada
contents Inheritance, Generics and Binary Methods in Java María Lucía Barrón Estrada Ryan Stansifer Computación Java Inheritance Binary methods Parameterized types Java has adopted a mechanism to support parameterized types that will be available in the next major release.A draft specification to add generics to the JavaTM Programming Language was published two years ago [1]and a new version of it in June 23, 2003 [2]. An extension of the type system based on F-boundedquantification is proposed. A binary method is a method that has one or more parameters of the same type asthe object that receives the message. F-Bounded polymorphism and binary methods can’t be combinedsmoothly in object-oriented languages with nominal subtyping and single dispatch [3].In this paper, we address some problems that can arise when binary methods are needed in parameterizedclasses and interfaces in the implementation of a Java program. 2003 artículo científico 1405-5546 https://www.redalyc.org/articulo.oa?id=61570205 en http://www.redalyc.org/revista.oa?id=615 Computación y Sistemas application/pdf Instituto Politécnico Nacional Computación y Sistemas (México) Num.2 Vol.7
format Artículo científico
id redalyc_61570205
institution Redalyc
language en
publishDate 2003
publisher Instituto Politécnico Nacional
spellingShingle Inheritance, Generics and Binary Methods in Java
María Lucía Barrón Estrada
Computación
Java
Inheritance
Binary methods
Parameterized types
Inheritance, Generics and Binary Methods in Java María Lucía Barrón Estrada Ryan Stansifer Computación Java Inheritance Binary methods Parameterized types Java has adopted a mechanism to support parameterized types that will be available in the next major release.A draft specification to add generics to the JavaTM Programming Language was published two years ago [1]and a new version of it in June 23, 2003 [2]. An extension of the type system based on F-boundedquantification is proposed. A binary method is a method that has one or more parameters of the same type asthe object that receives the message. F-Bounded polymorphism and binary methods can’t be combinedsmoothly in object-oriented languages with nominal subtyping and single dispatch [3].In this paper, we address some problems that can arise when binary methods are needed in parameterizedclasses and interfaces in the implementation of a Java program. 2003 artículo científico 1405-5546 https://www.redalyc.org/articulo.oa?id=61570205 en http://www.redalyc.org/revista.oa?id=615 Computación y Sistemas application/pdf Instituto Politécnico Nacional Computación y Sistemas (México) Num.2 Vol.7
title Inheritance, Generics and Binary Methods in Java
topic Computación
Java
Inheritance
Binary methods
Parameterized types
url https://www.redalyc.org/articulo.oa?id=61570205