EqualLeftRight (return 1 if all pairs are equal)

Top  Previous  Next

 

EqualLeftRight

The EqualLeftRight method returns one (1) if all pairs are equal and returns zero (0) if any pairs are not equal.

Implementation:

The Equal method simply calls the EqualLeftRight method which does all the comparison work. Therefore, there are two different methods (Equal and EqualLeftRight) that produce exactly the same result.

This provides an alternative calling convention for the FieldPairsClass and the BufferedPairsClass. The EqualLeftRight method name is consistent and compatible with the other comparison methods in the BufferedPairsClass and is provided for that purpose. See BufferedPairsClass Methods for more information.

See Also:     Equal