Returns the highest value in the dataset. The count must be non-zero. Non-finite values If the dataset contains Double#NaN then the result is Double#NaN. If it contains Double#POSITIVE_INFINITY and not Double#NaN then the result is {@link Double#POSITIVE
()
| 322 | * @throws IllegalStateException if the dataset is empty |
| 323 | */ |
| 324 | public double max() { |
| 325 | checkState(count != 0); |
| 326 | return max; |
| 327 | } |
| 328 | |
| 329 | /** |
| 330 | * {@inheritDoc} |