Java Number Min Value min(int a, int b)

Here you can find the source of min(int a, int b)

Description

min

License

Open Source License

Declaration

public static int min(int a, int b) 

Method Source Code

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

public class Main {
    public static int min(int a, int b) {
        if (a < b)
            return a;
        return b;
    }//from  w w w .ja v  a 2 s .  com

    public static int min(int a, int b, int c) {
        if (min(a, b) < c)
            return min(a, b);
        return c;
    }
}

Related

  1. min(float value1, float value2)
  2. min(float value1, float value2)
  3. min(float x0, float x1)
  4. min(int a, int b)
  5. min(int a, int b)
  6. min(int a, int b)
  7. min(int a, int b)
  8. min(int a, int b)
  9. min(int a, int b)