×

Constructor based object initialization with overrides

  • US 6,085,034 A
  • Filed: 03/18/1996
  • Issued: 07/04/2000
  • Est. Priority Date: 03/18/1996
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for initializing a first object in an object oriented class hierarchy, comprising the steps of:

  • defining a plurality of coexisting alternative initialization methods as dynamically resolved methods by a respective ancestor class object of a plurality of ancestor class objects of a first class object in the hierarchy;

    selecting a set of ancestor class objects whose alternative initialization methods are invocable by the first class object;

    dynamically selecting between the alternative initialization methods at runtime by the first class object;

    overriding the selected initialization method in the selected set of ancestor class objects by the first class object; and

    invoking a selected overridden initialization method on an instance of the first class object to initialize the first object.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×