Java Number Min Value min(int x, int y)

Here you can find the source of min(int x, int y)

Description

min

License

Open Source License

Return

the minimum of x and y

Declaration

public static int min(int x, int y) 

Method Source Code

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

public class Main {
    /**/*from  ww  w .j  ava  2 s  .  c o  m*/
     * @return the minimum of x and y
     */
    public static int min(int x, int y) {
        return ((x < y) ? x : y);
    }
}

Related

  1. min(int num1, int num2, int num3)
  2. min(int number1, int number2)
  3. min(int one, int two, int three)
  4. min(int value, int min)
  5. min(int x, int x2, int x3)
  6. min(int x, int y)
  7. min(Integer a, Integer b)
  8. min(Integer i1, Integer i2)
  9. min(long m, long n)