METHOD OF IMPLEMENTING PARAMETERIZED TYPES TO BE COMPATIBLE WITH EXISTING UNPARAMETERIZED LIBRARIES

Patent №

US 6,018,628

Granted

2000-01-25

Filed 1998

Owner

SUN MICROSYSTEMS, INC.

Lab

AI components

1

hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

09098126

A method and apparatus for generating code using parameterized classes which is compatible with an existing class library that was previously generated using unparameterized classes is disclosed. According to the method, parameterized source code is received that contains variables that belong to a plurality of types which are defined by supplying parameter values to a parameterized class definition. Static type checking is performed on the parameterized source code to determine if any incompatible type assignments exist between variables that belong to the plurality of types and values assigned to the variables. If no incompatible type assignments exist, then a homogeneous translation is performed on the parameterized source code to generate unparameterized class code. The unparameterized class code is then compiled to produce code that is compatible with the existing class library that was generated using unparameterized classes.

AI classification

AI hardware1.00
Planning0.14
Knowledge representation0.10
Natural language0.02
Machine learning0.00
Speech0.00
Vision0.00
Evolutionary computation0.00

Ownership

SUN MICROSYSTEMS, INC.

assignment · 92560212

Assignors

STOUTAMIRE, DAVID P.

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC