×

Computer-implemented program product and method of deferring allocation of storage for array elements of objects

  • US 6,529,915 B1
  • Filed: 12/06/1999
  • Issued: 03/04/2003
  • Est. Priority Date: 05/14/1997
  • Status: Expired due to Term
First Claim
Patent Images

1. A computer implemented method of deferring allocation of storage for array elements of objects, comprising the steps of:

  • receiving a request to instantiate an object of a class where the class has a definition that specifies a default value for each data member of an array element;

    allocating storage space for the object without storage space for an array element if the instantiation request does not specify an initial value for any of the data members of the array element;

    receiving a request to modify a data member of the array element;

    determining if storage space for the array element has been allocated;

    if storage space for the array element has not been allocated, allocating storage space for the array element and initializing each data member of the array element to the specified default value; and

    modifying the data member of the array element as specified in the modification request.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×