Patent ID: 6434566
Filing Date: 2002-08-13
Classification: G06F,Y10S

Abstract:
A computer implemented process for determining which method of a plurality of methods is invoked in a first method invocation in an object-oriented computer program, wherein the methods each have a given name, the given names being identical, and wherein the methods use a number d of dispatchable arguments each representing an instance of a class containing a method having the given name, the process comprising:for each possible invocation of the plurality of methods, mapping the method invocation into a d-dimensional rectangle, thereby creating a set of d-dimensional rectangles; mapping the first method invocation to a d-dimensional point contained in one or more of the d-dimensional rectangles; and identifying a d-dimensional rectangle in the set containing the d-dimensional point in the set of d-dimensional rectangles which is smaller than any other d-dimensional rectangle containing the d-dimensional point, if any, thereby determining the method invoked by the first method invocation.