All the numbers in the lists are compared, using the Double.compare method, and the minimum number is returned.