It would be useful to add an equals() method like the current min and max
methods which take an array type and determine if all the values are equal.
I have found myself in need of this often. I have to retrieve objects from
multiple data sources in parallel to build an array of complex object. To ensure
validity, I always compare that my sub-retrievals returned the same number of
objects as expected.