class BenchmarkUtils {

  public static double max(Iterable<Double> iterable) {
    Iterator<Double> iterator = iterable.iterator();
    double max = Double.MIN_VALUE;
    while (iterator.hasNext()) {
      double d = iterator.next();
      if (d > max) {
        max = d;
      }
    }
    return max;
  }

  private  BenchmarkUtils();

}