Java Array Min Value min(int receiver, int... others)

Here you can find the source of min(int receiver, int... others)

Description

min

License

Open Source License

Declaration

public static int min(int receiver, int... others) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static int min(int receiver, int... others) {
        int min = receiver;
        for (int other : others) {
            if (min > other)
                min = other;//from  w w  w  . jav a2s  . c  o  m
        }
        return min;
    }
}

Related

  1. min(float[] in, int[] idx)
  2. min(float[] numbers)
  3. min(float[] v1, float[] v2)
  4. min(float[][] a)
  5. min(float[][] originalValues, float[][] newValues, int[] indexArray, float value)
  6. min(int value1, int value2, int... values)
  7. min(int... _is)
  8. min(int... arr)
  9. min(int... array)