Java Number Min Value minimum(int a, int b, int c)

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

Description

Get minimum of three values

License

LGPL

Declaration

public static int minimum(int a, int b, int c) 

Method Source Code

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

public class Main {
    /**//from   w  w  w .  j a va 2 s.  c o  m
     * Get minimum of three values
     */
    public static int minimum(int a, int b, int c) {
        int mi = a;
        if (b < mi)
            mi = b;

        if (c < mi)
            mi = c;

        return mi;
    }
}

Related

  1. minimize(final StringBuilder src)
  2. minimizeWhitespace(String str)
  3. minimum(float first, float second)
  4. Minimum(float x, float y)
  5. minimum(int a, int b, int c)
  6. minimum(int a, int b, int c)
  7. Minimum(int a, int b, int c)
  8. minimum(int a, int b, int c)
  9. minimum(Integer one, Integer two)