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

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

Description

Min.

License

Open Source License

Parameter

Parameter Description
a the a
b the b

Return

the int

Declaration

public static int min(Integer a, Integer b) 

Method Source Code

//package com.java2s;

public class Main {
    /**/*from w  ww. j a v a 2  s . c  o m*/
     * Min.
     *
     * @param a the a
     * @param b the b
     * @return the int
     */
    public static int min(Integer a, Integer b) {
        return Math.min(a, b);
    }

    /**
     * Min.
     *
     * @param a the a
     * @param b the b
     * @return the long
     */
    public static long min(Long a, Long b) {
        return Math.min(a, b);
    }

    /**
     * Min.
     *
     * @param a the a
     * @param b the b
     * @return the float
     */
    public static float min(Float a, Float b) {
        return Math.min(a, b);
    }

    /**
     * Min.
     *
     * @param a the a
     * @param b the b
     * @return the double
     */
    public static double min(Double a, Double b) {
        return Math.min(a, b);
    }
}

Related

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