Java Number Min Value min3(int x, int y, int z)

Here you can find the source of min3(int x, int y, int z)

Description

compute the minimum of three int variables (helper for Levenshtein)

License

Open Source License

Parameter

Parameter Description
x a parameter
y a parameter
z a parameter

Return

the minimum of x, y and z

Declaration

public static int min3(int x, int y, int z) 

Method Source Code

//package com.java2s;

public class Main {
    /**   compute the minimum of three int variables (helper for Levenshtein)
     * @param   x/*ww  w  .j a va  2 s.c o m*/
     * @param   y
     * @param   z
     * @return the minimum of x, y and z
     */
    public static int min3(int x, int y, int z) {
        return Math.min(x, Math.min(y, z));
    }
}

Related

  1. min2msec(int min)
  2. min2sex(Integer minutes)
  3. min3(double a, double b, double c)
  4. min3(final int x, final int y, final int z)
  5. min3(int a, int b, int c)
  6. min4(double v1, double v2, double v3, double v4)
  7. MIN4(int x, int y, int z, int a)
  8. min8(double v1, double v2, double v3, double v4, double v5, double v6, double v7, double v8)
  9. MIN_MAX(int min, int mid, int max)