Utility for identifying differences between two Java objects
First Claim
1. A method for comparing a first object and a second object in an object-oriented operating system comprising the steps of:
- (a) determining whether the first object is equal to the second object;
(b) obtaining one or more methods from said first object and said second object if said objects are not equal;
(c) determining whether the one or more methods from said first object are equal to the one or more methods from said second object; and
(d) recursively performing steps (b) and (c) until there are no more methods to decompose.
1 Assignment
0 Petitions
Accused Products
Abstract
A utility for comparing two objects in an object-oriented operating system that also records the differences so that they may be put into human-readable form. In one exemplary embodiment of this invention, two Java objects are compared by calling one of the equality methods. If the selected equality method indicates that there is a difference between the two objects, then get . . . ( ) methods of each object are invoked in turn. The results get . . . ( ) methods are compared. If there are differences, the differences are stored in an XML document. The get . . . ( ) method is recursively invoked until the Class of the result has no more get . . . ( ) methods to decompose.
-
Citations
10 Claims
-
1. A method for comparing a first object and a second object in an object-oriented operating system comprising the steps of:
-
(a) determining whether the first object is equal to the second object;
(b) obtaining one or more methods from said first object and said second object if said objects are not equal;
(c) determining whether the one or more methods from said first object are equal to the one or more methods from said second object; and
(d) recursively performing steps (b) and (c) until there are no more methods to decompose. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
Specification