utility method in mutil.base.Comparison