Java Number Min Value min(int one, int two, int three)

Here you can find the source of min(int one, int two, int three)

Description

min

License

Apache License

Parameter

Parameter Description
one a parameter
two a parameter
three a parameter

Declaration

private static int min(int one, int two, int three) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    /**//from w  ww . j a va 2  s.  com
     *
     * @param one
     * @param two
     * @param three
     * @return
     */
    private static int min(int one, int two, int three) {
        int min = one;

        if (two < min) {
            min = two;
        }

        if (three < min) {
            min = three;
        }

        return min;
    }
}

Related

  1. min(int a, int b, int c)
  2. min(int idx, int orderFrom, int orderTo)
  3. min(int int1, int int2)
  4. min(int num1, int num2, int num3)
  5. min(int number1, int number2)
  6. min(int value, int min)
  7. min(int x, int x2, int x3)
  8. min(int x, int y)
  9. min(int x, int y)