This method of the MultiComparison Class compares the two objects according to the comparison array. The comparison terminates when one of the comparisons in the array determines that the objects are different.
public int compare(Object p, Object q);
Returns the result of the comparison.
p | The first object to compare. |
q | The second object to compare. |