Java Array Max Value maximumDouble(double... values)

Here you can find the source of maximumDouble(double... values)

Description

maximum Double

License

Apache License

Declaration

public static double maximumDouble(double... values) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static double maximumDouble(double... values) {
        double ret = values[0];
        for (int i = 1; i < values.length; i++) {
            ret = Math.max(ret, values[i]);

        }/*from   ww w  .j  av  a2  s.  com*/
        return ret;
    }
}

Related

  1. maxFloorDiv(int c, int... vals)
  2. maxFromDoubleArray(double[] arr)
  3. maxIdx(int[] in)
  4. maximum(double[] list)
  5. maximum(float[] array)
  6. maximumOf(final int[] array)
  7. maxIn(double[] array)
  8. maxInArray(int[] src)
  9. maxInArray(int[] values)