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

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

Description

min between a and b

License

Open Source License

Parameter

Parameter Description
a int
b int

Return

int

Declaration

public static final int min(int a, int b) 

Method Source Code

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

public class Main {
    /**//from  w w w .  j a  v  a  2s.c o  m
     * min between a and b
     * @param a int
     * @param b int
     * @return int
     */
    public static final int min(int a, int b) {
        return a < b ? a : b;
    }
}

Related

  1. min(int a, int b)
  2. min(int a, int b)
  3. min(int a, int b)
  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, int c)