Java Array Min Value minimum(int... values)

Here you can find the source of minimum(int... values)

Description

minimum

License

Apache License

Declaration

public static int minimum(int... values) 

Method Source Code

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

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

        }// w  ww. ja v a 2  s  . c  om
        return ret;
    }
}

Related

  1. minIdx(int[] in)
  2. minIgnoreIndex(double[] array, int indexToIgnore)
  3. minimum(char[] set)
  4. minimum(double[] list)
  5. minimum(float[] array)
  6. minimumDotProduct(int[] a, int[] b)
  7. minimumOf(final int[] array)
  8. minimumWordLength(String[] words)
  9. minIn(double[] array)